Skip to content

Instantly share code, notes, and snippets.

@gidgid
Created April 9, 2020 13:27
Show Gist options
  • Save gidgid/8b4923b8c150eeccf50ebd3f855dd0bd to your computer and use it in GitHub Desktop.
Save gidgid/8b4923b8c150eeccf50ebd3f855dd0bd to your computer and use it in GitHub Desktop.
An example file to source for Kubectl
export CLUSTER_NAME=<my-cluster-name>
export PROJECT_ID=<my-project-id>
export ENV=<env>
export NAMESPACE=<my-namespace>
export ZONE=<zone>
export CLUSTER_ID=gke_${PROJECT_ID}_${ZONE}_${CLUSTER_NAME}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment