How Kubernetes pod get terminated
A stage by stage transition
1 State change and preparation
2 Run a preStop Hook
3 SIGTERM signal is sent to the pod
4 Kuberntes waits for the grace period
apiVersion: v1
kind: pod
metadata:
name: app-pod
spec:
containers:
- name: app-container
image: busybox
terminationGracePeriodSeconds: 605 Kubernetes sends SIGKILL command
Last updated