logo
0
0
WeChat Login

QQ6420372

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 )

安装clog

kubectl krew install clog kubectl clog pods

安装ktop

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

pod日志

kubectl tail --pod=harbor-portal-7c5d84cbb8-t6v22

服务日志

kubectl tail --svc=harbor-core

deloy日志

kubectl tail --deploy=harbor-portal kubectl tail -d crm-service-v1

kubectl krew install view-utilization kubectl view-utilization node

安装ns

kubectl krew install ns kubectl ns kaixue

About

No description, topics, or website provided.