PRACTICE / UNDERSTAND / REPEAT

Kubernetes practice question

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

1 questionAnswers explainedFree · no login

Try this question

kubectl · Code recallQuestion link ↗

Complete the command to list Pods in the current namespace.

kubectl ___ pods
Answer & explanation

Answer: get

`kubectl get pods` lists Pods in the current namespace.