PRACTICE / UNDERSTAND / REPEAT

Kubernetes: kubectl

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

16 questionsAnswers explainedFree · no login
Question 1 of 16
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.