K9s: Difference between revisions
Jump to navigation
Jump to search
| Line 34: | Line 34: | ||
|valign='top' style='width:50%'| | |valign='top' style='width:50%'| | ||
<syntaxhighlight style='margin:3px 0' lang='bash'> | <syntaxhighlight style='margin:3px 0' lang='bash'> | ||
k9s --kubeconfig ${HOME}/.kube/shahed- | k9s --kubeconfig ${HOME}/.kube/shahed-aa-kubeconfig.yaml -A | ||
k9s --kubeconfig ${HOME}/.kube/shahed-aa-kubeconfig.yaml | |||
k9s --kubeconfig ${HOME}/.kube/shahed-ab-kubeconfig.yaml | k9s --kubeconfig ${HOME}/.kube/shahed-ab-kubeconfig.yaml | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 42: | Line 42: | ||
<syntaxhighlight style='margin:3px 0' lang='bash'> | <syntaxhighlight style='margin:3px 0' lang='bash'> | ||
export KUBECONFIG=${HOME}/.kube/shahed-ab-kubeconfig.yaml | export KUBECONFIG=${HOME}/.kube/shahed-ab-kubeconfig.yaml | ||
k9s --context shahed-ab | |||
k9s | |||
</syntaxhighlight> | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight style='margin:3px 0' lang='bash'> | |||
k9s help | |||
k9s info | k9s info | ||
k9s | k9s | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|valign='top'| | |||
|} | |} | ||
Revision as of 07:43, 3 January 2026
brew install derailed/k9s/k9s
brew uninstall derailed/k9s/k9s
|
sudo snap install k9s
sudo snap remove k9s
|
cat <<-'EXE'|sudo bash
K9S_PLATFORM="$(uname -s)_$(dpkg --print-architecture)"
K9S_BINARY="$(echo "k9s_${K9S_PLATFORM}.deb"|tr '[:upper:]' '[:lower:]')"
K9S_VERSION="$(curl -s https://api.github.com/repos/derailed/k9s/releases/latest | grep -Po '"tag_name": "v\K[^"]*')"
curl -fsSLo "${K9S_BINARY}" "https://github.com/derailed/k9s/releases/download/v${K9S_VERSION}/${K9S_BINARY}"
dpkg -i "${K9S_BINARY}"
rm "${K9S_BINARY}"
apt-get install -f
EXE
| |
Playground
|
Playground | |
|---|---|
k9s --kubeconfig ${HOME}/.kube/shahed-aa-kubeconfig.yaml -A
k9s --kubeconfig ${HOME}/.kube/shahed-aa-kubeconfig.yaml
k9s --kubeconfig ${HOME}/.kube/shahed-ab-kubeconfig.yaml
|
export KUBECONFIG=${HOME}/.kube/shahed-ab-kubeconfig.yaml
k9s --context shahed-ab
k9s
|
k9s help
k9s info
k9s
|
|
References
|
References | ||
|---|---|---|