As per kubectl get help, --namespace should be ignored with all-namespaces, but kubectl get pods --all-namespaces --namespace=<name-space> gives following error: "the namespace from the provided object "default" does not match the namespace "". You must pass '--namespace=default' to perform this operation." This commit fixes this error issue.
9.2 KiB
9.2 KiB