rancher / k3os

Purpose-built OS for Kubernetes, fully managed by Kubernetes.
https://k3os.io
Apache License 2.0
3.5k stars 396 forks source link

Support for graceful node shutdown #774

Open gravufo opened 2 years ago

gravufo commented 2 years ago

Describe the solution you'd like Support for Kubernetes' new beta feature called "Graceful node shutdown" which allows Kubernetes to detect a system shutdown and thus handles reboot more appropriately by shutting down workloads cleanly.

The feature is described more in depth here: https://kubernetes.io/docs/concepts/architecture/nodes/#graceful-node-shutdown

Describe alternatives you've considered Manual cordon + killing of pods.

ishioni commented 2 years ago

As far as I explored this functionality is dependant on dbus and systemd. Not sure about dbus, but K3Os uses openrc, so it won't work