This is a Bug Report
Problem:
After creating and scaling deployment using command
kubectl create deployment cattle --image=k8s.gcr.io/serve_hostname
kubectl scale deployment cattle --replicas=5
When we execute below command to list pods with options -l
kubectl get pods -l run=cattle
O/P is No resources found in production namespace.
Proposed Solution:
kubectl get pods -l app=cattle
Page to Update:
https://kubernetes.io/...
/assign
@prasadkatti can you / have you confirmed that this is a bug? If so, it's be good to record this issue as /kind bug
Yes, this is a bug. When kubectl run was changed to kubectl create deployment, the label should have changed from run=cattle to app=cattle. This needs to be updated on a couple of other pages as well.
/kind bug
/priority backlog
Most helpful comment
Yes, this is a bug. When
kubectl runwas changed tokubectl create deployment, the label should have changed fromrun=cattletoapp=cattle. This needs to be updated on a couple of other pages as well./kind bug