摘要:
get # 查看集群状态信息 kubectl cluster-info # 查看集群状态 kubectl get cs # 查看集群节点信息 kubectl get nodes # 查看集群命名空间 kubectl get ns # 查看指定命名空间的服务 kubectl get svc -n ku 阅读全文
摘要:
查看pod 查看default命名空间下的pods kubectl get pods kubectl get po 查看kube-system命名空间下的pods kubectl get pods -n kube-system 查看所有命名空间下的pods kubectl get pod --all 阅读全文