easykubectl
List all pods within a specific namespace using the -n flag
command
kubectl get pods -n NAMESPACEalso accepted
kubectl get pods -nkubectl get po -n NAMESPACEkubectl get pods --namespace NAMESPACEkubectl get po -ncommand
kubectl get pods -n NAMESPACEalso accepted
kubectl get pods -nkubectl get po -n NAMESPACEkubectl get pods --namespace NAMESPACEkubectl get po -nTest your recall — not just your reading.
Practice with interactive quiz →