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 ``` |
||
|---|---|---|
| .. | ||
| _index.md | ||
| cheatsheet.md | ||
| conventions.md | ||
| docker-cli-to-kubectl.md | ||
| jsonpath.md | ||
| kubectl-cmds.md | ||
| kubectl.md | ||
| overview.md | ||