You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typically, the container runtime sends a TERM signal to the main process in each
835
-
container. Many container runtimes respect the `STOPSIGNAL` value defined in the container
836
-
image and send this instead of TERM.
837
-
Once the grace period has expired, the KILL signal is sent to any remaining processes, and the Pod
838
-
is then deleted from the {{< glossary_tooltip text="API Server" term_id="kube-apiserver" >}}.
839
-
If the kubelet or the container runtime's management service is restarted while waiting for
840
-
processes to terminate, the cluster retries from the start including the full original grace period.
841
+
Typically, with this graceful termination of the pod, kubelet makes requests to the container runtime to attempt to stop the containers in the pod by first sending a TERM (aka. SIGTERM) signal, with a grace period timeout, to the main process in each container. The requests to stop the containers are processed by the container runtime asynchronously. There is no guarantee to the order of processing for these requests. Many container runtimes respect the `STOPSIGNAL` value defined in the container image and, if different, send the container image configured STOPSIGNAL instead of TERM.
842
+
Once the grace period has expired, the KILL signal is sent to any remaining
843
+
processes, and the Pod is then deleted from the
844
+
{{< glossary_tooltip text="API Server" term_id="kube-apiserver" >}}. If the kubelet or the
845
+
container runtime's management service is restarted while waiting for processes to terminate, the
846
+
cluster retries from the start including the full original grace period.
0 commit comments