- Home
- All questions
- Question 371
CKA study material · question 371 of 1000
A Pod crashes on startup, so there is nothing to exec into. Which approach helps?
Show the answer
Answer: B. kubectl debug with --copy-to, changing the command to a shell
kubectl debug --copy-to makes a modified copy of the Pod, which is how a Pod that crashes on startup is examined.
Source: Debug Running Pods (Kubernetes) — Copying a Pod while adding a new container