hardkubectl
Filter the node list to only nodes matching a specific label selector
command
kubectl get nodes --selector KEY=VALUEalso accepted
kubectl get nodes --selectorkubectl get nodes -lcommand
kubectl get nodes --selector KEY=VALUEalso accepted
kubectl get nodes --selectorkubectl get nodes -lPart of the Kubernetes CLI (kubectl) — Nodes category.
| Flag | Purpose |
|---|---|
--selector | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →