- Home
- All questions
- Question 980
CKA study material · question 980 of 1000
A container has a preStop hook that takes 45 seconds and terminationGracePeriodSeconds left at its default. What happens?
Show the answer
Answer: D. The hook is cut short when the grace period expires
The preStop hook runs inside the grace period rather than in addition to it, so a slow hook needs terminationGracePeriodSeconds raised to match.
Source: Pod Lifecycle (Kubernetes) — Termination of Pods › Pod Termination Flow