1
0
Fork 0

docs: add automated upgrades docs

This commit is contained in:
Vojtěch Mareš 2024-11-14 11:50:08 +01:00
parent 5bb7ca4b8f
commit ce5ba1002f
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
2 changed files with 37 additions and 0 deletions

View file

@ -1,5 +1,9 @@
# CHANGELOG
## Enable automatic updates on control plane / 2024-11-14
See [os/automated-upgrades](/docs/os/automated-upgrades.md).
## Update Kubernetes to v1.30.4 / 2024-08-30
- Upgrade the cluster to Kubernetes (k3s) version v1.30 (`v1.30.4`)

View file

@ -0,0 +1,33 @@
# os automated upgrades
Rocky Linux is configured to automatically upgrade. The OS reboot is then
coordinated with Kubernetes nodes via [Kured](https://kured.dev/).
Inspired by [github.com/khuedoan/homelab](https://github.com/khuedoan/homelab/tree/da9afc6de0f27c1d431ae9ecf4f899cb6aedcd15/metal/roles/automatic_upgrade).
- [DNF automatic updates (Fedora docs)](https://docs.fedoraproject.org/en-US/quick-docs/autoupdates/)
## Setup
1. Install
```bash
dnf update -y
dnf install -y dnf-automatic dnf-utils
```
2. Configure
```conf
[commands]
upgrade_type = default
apply_updates = yes
```
3. Start
```bash
systemctl enable dnf-automatic.timer
systemctl start dnf-automatic.timer
```