kubectl基础操作

127 阅读1分钟

kubectl get pods -n isddc

kubectl log pod/platform-ui-b848ffc8-4c2wr -n isddc

\

kubectl get po -n isddc

\

docker image build

\

docker image tag

\

docker image save 

\

docker image load 

\

kubectl get po -n isddc -o wide

docker pull harbor.lenovo.com/lecp/cmo/cmo-ui

kubectl delete pod kubectl get pod -A|grep lecp-ui|awk '{print $2}' -n kube-system