PRACTICE / UNDERSTAND / REPEAT

Kubernetes practice question

Practice namespaces with self-contained questions. Check your answer, then use the explanation to understand the reasoning.

1 questionAnswers explainedFree · no login

Try this question

Namespaces · MCQQuestion link ↗

Which command lists Pods in namespace team-1?

Choose one answer
Answer & explanation

Answer: kubectl get pods -n team-1

-n selects the namespace for a namespaced resource operation.