Study. uk . com
  1. Home
  2. All questions
  3. Question 851

CKA study material · question 851 of 1000

A Pod is misbehaving and you have only one command to run first. Which gives the most diagnostic ground in a single step?

  1. kubectl get pod -o wide
  2. kubectl logs on the Pod
  3. kubectl top pod
  4. kubectl describe pod
Show the answer

Answer: D. kubectl describe pod

describe shows the container states, restart counts, conditions and the recent events together, which is why it is the documented first step before narrowing to logs.

Source: Debug Pods (Kubernetes) — Diagnosing the problem › Debugging Pods

Challenge yourself on this topic → Study as cards