📜  为什么 kubectl 命令不适用于描述 pod - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:22.489000             🧑  作者: Mango

代码示例1
You've not specified the namespace in your describe pod command.

You did kubectl get all -n minio-operator, which gets all resources in the minio-operator namespace, but your kubectl describe has no namespace, so it's looking in the default namespace for a pod that isn't there.

kubectl describe po -n minio-operator  should work OK.

Most operations in kubernetes are namespaced, so will require the -n  argument