- Home
- All questions
- Question 986
CKA study material · question 986 of 1000
An application requires its cache container to stop before its API container. What does Kubernetes offer?
Show the answer
Answer: D. A preStop hook to impose the ordering
Ordinary containers in a Pod are shut down in no defined order, so a preStop hook is the documented way to impose one where the order matters.
Source: Pod Lifecycle (Kubernetes) — Termination of Pods › Pod Termination Flow