Created
November 24, 2020 18:26
-
-
Save polettix/87eb90d8acf5647d8a23f1fb5dd5cc3f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh | |
microk8s.kubectl config view --raw > ~/kube-config | |
printf %s\\n "alias k9s='k9s --kubeconfig ~/kube-config'" >> ~/.bash_aliases | |
mkdir -p ~/bin | |
curl -L https://github.com/derailed/k9s/releases/download/v0.24.1/k9s_Linux_x86_64.tar.gz \ | |
| tar xzO k9s > ~/bin/k9s | |
chmod +x ~/bin/k9s | |
printf %s\\n 'now exit your shell and enter again' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment