摘要: get # 查看集群状态信息 kubectl cluster-info # 查看集群状态 kubectl get cs # 查看集群节点信息 kubectl get nodes # 查看集群命名空间 kubectl get ns # 查看指定命名空间的服务 kubectl get svc -n ku 阅读全文
posted @ 2021-09-01 23:45 请务必优秀 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 查看pod 查看default命名空间下的pods kubectl get pods kubectl get po 查看kube-system命名空间下的pods kubectl get pods -n kube-system 查看所有命名空间下的pods kubectl get pod --all 阅读全文
posted @ 2021-09-01 18:05 请务必优秀 阅读(386) 评论(0) 推荐(0) 编辑