Re:Systemd Inhibitor Locks Deep Dive
by bogomipz on Saturday April 10, 2021 @09:03PM
(#26766708)
The latest Kubernetes release 1.21 which was announced a couple of days ago actually uses systemd inhibitor locks for the kubelets:
"The kubelet attempts to detect node system shutdown and terminates pods running on the node.
Kubelet ensures that pods follow the normal pod termination process during the node shutdown.
The Graceful node shutdown feature depends on systemd since it takes advantage of systemd inhibitor locks to delay the node shutdown with a given duration."[1]
"The kubelet attempts to detect node system shutdown and terminates pods running on the node. Kubelet ensures that pods follow the normal pod termination process during the node shutdown. The Graceful node shutdown feature depends on systemd since it takes advantage of systemd inhibitor locks to delay the node shutdown with a given duration."[1]
[1] https://kubernetes.io/docs/concepts/architecture/nodes/#grac...