homelab/build/config/ansible/roles/k3s_node/defaults/main.yml
Russell Seymour 1250c9cef6
Some checks are pending
deploy / deploy (push) Waiting to run
Initial checkin of code for managing homelab
2026-08-24 20:52:36 +01:00

18 lines
799 B
YAML

---
# Ubuntu Server's boot partition. Same path on Raspberry Pi OS, so this
# doesn't need to change if the Pis are ever reimaged to that instead.
k3s_boot_cmdline_path: /boot/firmware/cmdline.txt
# k3s (like any Kubernetes distro) needs the memory cgroup controller, which
# isn't always on by default on a Pi kernel. Ubuntu's Pi images usually ship
# these already — this task is a safety net for that assumption, not the
# primary mechanism, and a no-op on most runs. See tasks/prep.yml.
k3s_cgroup_params:
- cgroup_memory=1
- cgroup_enable=memory
# Safety-net defaults for inventory/group_vars/k3s_cluster.yml's extra-args
# vars (see tasks/server.yml, tasks/agent.yml) — empty so the role doesn't
# break if a var is left undefined there.
k3s_extra_args: []
k3s_server_extra_args: []