You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So from the metadata the namespace field got stripped but in the selfLink it is still there. Whereas with other resources such as deployments, RS or RCs it would have resulted in: /api/v1/namespaces//pods/podName-v1-2722560640-crn8r
What you expected to happen:
Consistent behaviour in the stripping of the namespaces across all resources instead of being stripped for most and not for pods (maybe some others too?)
How to reproduce it (as minimally and precisely as possible):
Try to kubectl get --o=yaml --export on a deployment and on a pod and see the difference.
Anything else we need to know?:
Seems to be affecting all versions of Kubectl right now. I've tried from 1.5.6 all the way up to 1.9.
/kind bug
/sig cli
What happened:
When I do a
kubectl get -o yaml --export po/podName-v1-2722560640So from the metadata the namespace field got stripped but in the selfLink it is still there. Whereas with other resources such as deployments, RS or RCs it would have resulted in:
/api/v1/namespaces//pods/podName-v1-2722560640-crn8rWhat you expected to happen:
Consistent behaviour in the stripping of the namespaces across all resources instead of being stripped for most and not for pods (maybe some others too?)
How to reproduce it (as minimally and precisely as possible):
Try to kubectl get --o=yaml --export on a deployment and on a pod and see the difference.
Anything else we need to know?:
Seems to be affecting all versions of Kubectl right now. I've tried from 1.5.6 all the way up to 1.9.
Environment:
kubectl version):Affects the newest 1.9 kubectl too
Cloud provider or hardware configuration:
Bare metal, 3 masters 7 workers
OS (e.g. from /etc/os-release):
Slackware 9.1.0
Kernel (e.g.
uname -a):Linux 4.4.29 Unit test coverage in Kubelet is lousy. (~30%) #1 SMP Mon Oct 31 14:44:45 CDT 2016 x86_64 Intel(R) Xeon(R) CPU E5420 @ 2.50GHz GenuineIntel GNU/Linux
Install tools:
Manual installation through Kubelet
Others:
N/A