Docker and CI/CD · Senior · Question 24 of 75
What does terminationGracePeriodSeconds control?
- 1How long Kubernetes waits before restarting a crash
- 2How long a pod must stay ready before getting traffic
- ✓Correct answer: How long after SIGTERM before Kubernetes sends SIGKILL
Explanation
The default is 30 seconds and it includes preStop. Long-running requests or queue jobs may need more, or need to be made resumable.