🔥 3-day streak
Kubernetes and Cloud Native Associate85 / 142
Question 85 of 142

A developer reports that a Pod named 'payments-api' in the 'prod' namespace keeps failing. You run 'kubectl get pods -n prod' and see the Pod is in status 'CrashLoopBackOff' with a RESTARTS value of 7. Which command should you run next to see the log output from the container's previous, crashed instance to diagnose the root cause?

Reviewed for accuracy · Report an issueNext question