Kubernetes常用命令
Kubernetes集群常用命令
1.1、获取集群当前名称空间下Pod状态
Section titled “1.1、获取集群当前名称空间下Pod状态”kubectl get pods1.2、获取所有名称空间下Pod状态
Section titled “1.2、获取所有名称空间下Pod状态”kubectl get pod --all-namespaces1.3、查询Pod所在节点
Section titled “1.3、查询Pod所在节点”kubectl get pods --all-namespaces -o wide |grep nodenamehttps://help.aliyun.com/document_detail/100251.html 关于垃圾产生及回收,您可以看下这篇文章 https://www.kubernetes.org.cn/4508.html