Website: Issue with k8s.io/docs/tasks/administer-cluster/namespaces-walkthrough/

Created on 13 May 2020  路  4Comments  路  Source: kubernetes/website

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/...


kinbug prioritbacklog

Most helpful comment

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

All 4 comments

/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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sftim picture sftim  路  3Comments

Karunamon picture Karunamon  路  3Comments

shruthibhaskar picture shruthibhaskar  路  3Comments

neha-viswanathan picture neha-viswanathan  路  3Comments

zacharysarah picture zacharysarah  路  4Comments