-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[zh] Fix label selector in "kubectl for Docker Users" #27417
Conversation
Deploy preview for kubernetes-io-master-staging ready! Built with commit 2c3ece8 https://deploy-preview-27417--kubernetes-io-master-staging.netlify.app |
/lgtm |
LGTM label has been added. Git tree hash: c7843e960ffdb6a888b5db03e5e3928cd3d0bf48
|
/assign @chenrui333 |
@joostas You may want to rebase this on to "master" and see if the merge is still blocked. |
Before: ```sh kubectl get po -l run=nginx-app No resources found in default namespace. ``` Because: ```sh kubectl get po --show-labels NAME READY STATUS RESTARTS AGE LABELS nginx-app-58cfd4c468-jx6qp 1/1 Running 0 17m app=nginx-app,pod-template-hash=58cfd4c468 ``` After: ```sh kubectl get po -l app=nginx-app NAME READY STATUS RESTARTS AGE nginx-app-58cfd4c468-jx6qp 1/1 Running 0 18m ```
3ecbd57
to
2c3ece8
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tengqm The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
LGTM label has been added. Git tree hash: 9daaf97565929aef1ffb384eda9fe887c04f4105
|
Ref. #27414
Before:
kubectl get po -l run=nginx-app No resources found in default namespace.
Because:
After: