Terminating
by some kubectl commands. This Terminating
status is not one of the Pod phases. A Pod is granted a term to terminate gracefully, which defaults to 30 seconds. You can use the flag –force to terminate a Pod by force.init container
post start hook
pre stop hook
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/