K9s: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 1: | Line 1: | ||
{| | {| | ||
| valign= | |valign='top'| | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
brew install derailed/k9s/k9s | brew install derailed/k9s/k9s | ||
| Line 6: | Line 6: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| valign= | |valign='top'| | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo snap install k9s | sudo snap install k9s | ||
| Line 12: | Line 12: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| valign=" | |- | ||
|valign='top' colspan='2'| | |||
<syntaxhighlight lang="bash"> | |||
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_linux_amd64.deb https://github.com/derailed/k9s/releases/download/v${K9S_VERSION}/${K9S_BINARY} | |||
dpkg -i k9s_linux_amd64.deb | |||
rm k9s_linux_amd64.deb | |||
apt-get install --fix-broken | |||
EXE | |||
</syntaxhighlight> | |||
|} | |} | ||
Revision as of 23:02, 1 October 2025
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_linux_amd64.deb https://github.com/derailed/k9s/releases/download/v${K9S_VERSION}/${K9S_BINARY}
dpkg -i k9s_linux_amd64.deb
rm k9s_linux_amd64.deb
apt-get install --fix-broken
EXE
| |
Playground
k9s help
k9s info
|
||
|
| ||
References
|
| ||