参考
https://i.cloudnative.to/toolkits/kubernetes/k9s
离线安装
https://k9scli.io/topics/install/
1 2
| tar -zxvf k9s_Linux_amd64.tar.gz cp ./k9s /usr/local/bin/
|
常用操作
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
| k9s k9s -n your_namespace $ k9s --readonly k9s info
?
ctrl+a
:po :dp :rs :svc :cm :sec :rb :ns :node :dp 或 :rs
ctrl-d a d e l s /
按`:dp`进入deployments界面后,按`s`调整
shift-f
:pu
:x po :x dp :x sts :x svc :x ds
:popeye
|