Termination Grace Period
The terminationGracePeriodSeconds option expects an integer and sets the terminationGracePeriodSeconds Kubernetes attribute for Pods.
This value defines how long Kubernetes waits for containers to shut down gracefully after sending a termination signal before forcefully stopping them.
Default Value For terminationGracePeriodSeconds
terminationGracePeriodSeconds: 5
Example: Set Termination Grace Period
containers:
- image: john/appbackend
terminationGracePeriodSeconds: 30