Skip to content

Instantly share code, notes, and snippets.

@vfarcic
Created March 6, 2021 23:34
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save vfarcic/6b34f95dac3f3bbd3dcb365ecb2a56f4 to your computer and use it in GitHub Desktop.
##########################################################
# GKE Autopilot    #
# The First Fully Managed Kubernetes Service From Google #
# https://youtu.be/Zztufl4mFQ4 #
##########################################################
#########
# Setup #
#########
git clone https://github.com/vfarcic/gke-autopilot-demo.git
cd gke-autopilot-demo
######################
# Creating a cluster #
######################
# SLA: https://cloud.google.com/kubernetes-engine/sla
export KUBECONFIG=$PWD/kubeconfig.yaml
# Execute the command to create Kube config
##################
# Deploying apps #
##################
cat k8s.yaml
kubectl apply --filename k8s.yaml
kubectl get nodes,pods
kubectl delete --filename k8s.yaml
# Delete the cluster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment