Skip to content
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

[en] Fix label selector in "kubectl for Docker Users" #27414

Merged
merged 1 commit into from
May 16, 2021

Commits on May 11, 2021

  1. [en] Fix label selector in "kubectl for Docker Users"

    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
    ```
    joostas committed May 11, 2021
    Configuration menu
    Copy the full SHA
    ee1361d View commit details
    Browse the repository at this point in the history