- Home
- All questions
- Question 864
CKA study material · question 864 of 1000
An application crashes immediately at startup, so there is never a running container to exec into. Which approach does the documentation recommend?
Show the answer
Answer: A. Use kubectl debug to create a copy of the Pod with changed settings
Copying the Pod with kubectl debug lets its command or image be changed for investigation without disturbing the original workload.
Source: Debug Running Pods (Kubernetes) — Debugging using a copy of the Pod