
Ultimate access to all questions.
Answer-first summary for fast verification
Answer: kubectl get pods
The correct command to view running pods is `kubectl get pods`, which mirrors the syntax used in on-premises deployments for inspecting pods.
Author: LeetQuiz Editorial Team
No comments yet.
After initiating your cluster and deploying your pods, you wish to inspect all the currently running pods. Which CLI command should you use for this purpose?
A
gcloud get pods
B
kubectl list pods
C
gcloud list pods
D
kubectl get pods