kubectl常用操作

kubectl常用操作

1、kubectl describe pod [pod_name]获得pod详细信息
2、kubectl get po(d)
3、kubectl get nodes
4、kubectl get deployments
5、kubectl get namespace
6、kubectl delete pod pod_name
7、kubectl delete deployment dep_name
kubectl describe node
kubectl describe pod kubectl get deployments –all-namespaces

为什么有pod没有deployment

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注