Skip to content

generate gke kubeconfig file from service account credentials

License

Notifications You must be signed in to change notification settings

mie00/gke-kubeconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GKE Kubeconfig

This is made mainly to reduce the time of the deployment phase to gke as it usually requires a gcloud image which is very big. And it was created by reverse engineering gcloud.

usage:

cat /path/to/serviceaccount-creds-123432423.json | ./gke-kubeconfig -cluster mycluster -location us-central1-a -project mycluster-1234 > "$HOME"/.kube/config

About

generate gke kubeconfig file from service account credentials

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages