
Explanation:
The correct command to view running pods is kubectl get pods, which mirrors the syntax used in on-premises deployments for inspecting pods.
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
No comments yet.