1. 基础操作 查看资源信息 # 查看所有命名空间 kubectl get namespaces # 查看特定命名空间下的所有资源 kubectl get all -n <namespace> # 查看所有 Pod kubectl get pods -A kubectl get pods