mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-23 21:36:33 +00:00
a02ae67559b438ca03617a52718e781185db1661
Without this, some CI jobs are flaky or slow due to the following issues: - Triggering a reboot cause an unrecoverable boot loop. This fixes it by restarting the containers that are incorrectly exited. - API server is down while operations happen. This fixes it by ensuring at least one API server is up. In this case, we don't add a reboot marker on the unique api server. - The amount of nodes in a test environment is larger than necessary. This fixes it by ensuring two nodes are required to reboot. This is enough for concurrency, and for the e2e testing. - The wait time between operations is high, and can cause a heartbeat to be missed in the check script. This fixes it by checking more often, at the expense of more logging. This is compensated by increasing the amount of tries. Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>
kured - Kubernetes Reboot Daemon
Introduction
Kured (KUbernetes REboot Daemon) is a Kubernetes daemonset that performs safe automatic node reboots when the need to do so is indicated by the package management system of the underlying OS.
- Watches for the presence of a reboot sentinel file e.g.
/var/run/reboot-requiredor the successful run of a sentinel command. - Utilises a lock in the API server to ensure only one node reboots at a time
- Optionally defers reboots in the presence of active Prometheus alerts or selected pods
- Cordons & drains worker nodes before reboot, uncordoning them after
Documentation
Find all our docs on https://kured.dev:
And there's much more!
Getting Help
If you have any questions about, feedback for or problems with kured:
- Invite yourself to the CNCF Slack.
- Ask a question on the #kured slack channel.
- File an issue.
- Join us in our monthly meeting, every first Wednesday of the month at 16:00 UTC.
- You might want to join the kured-dev mailing list as well.
We follow the CNCF Code of Conduct.
Your feedback is always welcome!
Trademarks
Kured is a Cloud Native Computing Foundation Sandbox project.
The Linux Foundation® (TLF) has registered trademarks and uses trademarks. For a list of TLF trademarks, see Trademark Usage.
License
Languages
Go
88.8%
Shell
7.7%
Makefile
3.2%
Dockerfile
0.3%
