Skip to content

Instantly share code, notes, and snippets.

@grrywlsn
Created December 13, 2017 12:17
Show Gist options
  • Save grrywlsn/874d506c75b3e890ec3856f2c6c6bd44 to your computer and use it in GitHub Desktop.
Save grrywlsn/874d506c75b3e890ec3856f2c6c6bd44 to your computer and use it in GitHub Desktop.
k8switch
#!/bin/bash
cp ~/.kube/$1-admin.kubeconfig ~/.kube/config
@grrywlsn
Copy link
Author

Quickly switch environment in kubectl, by having k8switch as an executable in /usr/local/bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment