A

Admin • 828.03K Points
Coach

Q. How can you inspect logs of a Kubernetes pod named 'web-pod'?

  • (A) kubectl logs web-pod
  • (B) kubectl describe logs web-pod
  • (C) kubectl get logs web-pod
  • (D) kubectl read web-pod
  • Correct Answer - Option(A)
  • Views: 15
  • Filed under category Kubernetes
  • Hashtags:

Explanation by: Admin
`kubectl logs <pod-name>` is used to fetch logs of the specified pod.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.