Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
##########################################################
# 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