mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-18 19:07:11 +00:00
e531f64b85b637d0fafe1542a59f2f07743e4975
GoReleaser now builds the multi-arch images, publishes SBOM/provenance metadata, signs image digests, and attaches the generated combined Kubernetes manifest to tagged GitHub releases. This is to have goReleaser as a single point of work for release automation. With this, so tags and main commits follow one consistent image pipeline. We keep the CI and developer image builds intentionally local. PR, periodic, main, and tag scan jobs build only `kured:dev` and scan that local image with Trivy, which avoids pushing disposable images and keeps the tested image identical to the one used by kind-based e2e tests. Simplify the Makefile around the remaining artifact boundaries: `build` for a local GoReleaser binary build, `dev-image` for local Docker/e2e/scan use, and `release` for the GoReleaser publish path. Remove the old manual manifest target because the release manifest is now generated during the tagged release flow. To avoid a mess with all the configuration files, I move everything into a `.config` folder, for the tools supporting it. This also meant updating golangci-lint to a valid v2 config, and simplify the Dockerfile to the layout expected by GoReleaser `dockers_v2` using `TARGETPLATFORM`. Handle Prometheus client initialization errors explicitly so the stricter errcheck configuration keeps the existing fail-closed reboot-blocking behavior, to fix the golangci-lint issue that appeared. 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%
