Created
March 6, 2021 23:34
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################## | |
# 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