easykubectl
List pods matching a specific label selector to verify a deployment's pods
command
kubectl get pods -l app=APP_LABELalso accepted
kubectl get pods -lcommand
kubectl get pods -l app=APP_LABELalso accepted
kubectl get pods -lPart of the Kubernetes CLI (kubectl) — Deployments category.
| Flag | Purpose |
|---|---|
-l | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →