Question 640
A Kubernetes administrator recommends: Run kubectl describe pod and review Events for registry and credential failures. Which situation most directly calls for that operation?
Explanation
Correct Answer
This is the original issue addressed by Pod event versus application logs: Lifecycle event evidence reveals a pre-container image pull problem that app logs cannot capture.
Incorrect Answers
That separate problem requires another operation: Inspect node filesystem and image storage, clean approved unused images or logs, and address kubelet eviction thresholds safely. The node recovers disk headroom and stops pressure-driven evictions without arbitrarily raising CPU allocations.
That separate problem requires another operation: Use kubectl logs <pod> -c <init-container> --previous and inspect the init container failure. The startup prerequisite failure is visible before attempting to debug the not-yet-running app.
That separate problem requires another operation: Repair the webhook Deployment or Service and verify its certificate and conversion configuration. The API server can convert stored custom resource versions during reads and writes.