kubernetes: The kubectl cluster-info dump does not work with --namespace flag
What happened:
The kubectl cluster-info dump does not work properly when –namespace flag is specified.
If you specify the –namespaces flag to dump given namespace then only the list of Nodes are dump. Other information about Services, Pods etc. are not available.
The problem was introduced by this changed.
What you expected to happen:
When kubectl cluster-info dump --namespaces=<namespace_list> command is executed then all information is dump.
How to reproduce it (as minimally and precisely as possible):
Execute command kubectl cluster-info dump --namespaces=<namespace_list>.
Anything else we need to know?:
-
Environment:
- Kubernetes version (use
kubectl version):
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.0", GitCommit:"ddf47ac13c1a9483ea035a79cd7c10005ff21a6d", GitTreeState:"clean", BuildDate:"2018-12-03T21:04:45Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
- Cloud provider or hardware configuration: unrelated
- OS (e.g. from /etc/os-release): unrelated
- Kernel (e.g.
uname -a): unrelated - Install tools: unrelated
- Others:
/kind bug
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 22 (17 by maintainers)
/assign pandyamarut
/assign