Skip to content

Instantly share code, notes, and snippets.

@avneesh91
Created July 16, 2020 08:51
Show Gist options
  • Save avneesh91/86065c466982dd7c0ed7648e52103695 to your computer and use it in GitHub Desktop.
Save avneesh91/86065c466982dd7c0ed7648e52103695 to your computer and use it in GitHub Desktop.
For generating kubectl file from gcloud
this article -> https://gravitational.com/blog/kubectl-gke/
Installation
sudo apt-get install uuid
install cfssl, this article => https://www.pimwiddershoven.nl/entry/install-cfssl-and-cfssljson-cloudflare-kpi-toolkit
then this script => https://raw.githubusercontent.com/gravitational/teleport/master/examples/gke-auth/get-kubeconfig.sh
After that copy the kubeconfig inside the build and put it in your .kube folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment