An administrator is managing a Kubernetes cluster. A pod is running but not responding as expected. The administrator wants to view the standard output logs from the pod's main container. Which kubectl command should be used?
This command fetches the logs from the pod.
Why this answer
kubectl logs <pod-name> retrieves the logs from the specified pod.