https://cnb.cool/Mix371/kaixue
https://www.zhihu.com/people/fly-youhui
安装krew:
( set -x; cd "(mktemp -d)" && OS="(uname | tr '[:upper:]' '[:lower:]')" && ARCH="(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64/arm64/')" && KREW="krew-{OS}_{ARCH}" && curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz" && tar zxvf "{KREW}.tar.gz" && ./"{KREW}" install krew )
kubectl krew install clog kubectl clog pods
kubectl krew install ktop kubectl ktop
kubectl krew install images kubectl images kubectl images -A
kubectl krew install ctr kubectl ctr podname
kubectl krew install tree kubectl tree deploy crm-name
kubectl krew install tail
kubectl tail --pod=harbor-portal-7c5d84cbb8-t6v22
kubectl tail --svc=harbor-core
kubectl tail --deploy=harbor-portal kubectl tail -d crm-service-v1
kubectl krew install view-utilization kubectl view-utilization node
kubectl krew install ns kubectl ns kaixue