Skip to content

Instantly share code, notes, and snippets.

@rabiayilmazz
Created September 11, 2023 13:18
Show Gist options
  • Save rabiayilmazz/15e3effff7d94fa292d5949ce60d0045 to your computer and use it in GitHub Desktop.
Save rabiayilmazz/15e3effff7d94fa292d5949ce60d0045 to your computer and use it in GitHub Desktop.
kubectl-k9s
# k9s.sh
curl -sS https://webi.sh/k9s | sh
export TERM=xterm-256color
ll /root/.local/bin/k9s
# run the below command for finish
source ~/.config/envman/PATH.env
# test
k9s
# kubecl.sh
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
echo "$(cat kubectl.sha256) kubectl" | sha256sum --check
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
# test with kubectl
kubectl --help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment