Arch can run k0s
in a relatively stable way.
Initial setup requires:
- Installing
htop, openssh, nano, dhcpcd
. - Manually adding
localhost
in/etc/hosts
. - Setting the node's hostname in
/etc/hostname
.
Enable core services:
systemctl enable dhcpcd
systemctl enable sshd
Next, configure /etc/systemd/journald.conf
so that logs get stored in memory only.
Storage=volatile
RuntimeMaxUse=32M
Remove stale logs
rm -rfv /var/log/journal
Configure flux
flux bootstrap git \
--url=ssh://git@<GIT-REPO>:9022/vacco/k0s-lab.git \
--branch=main \
--path=<CLUSTER-NAME>
Initial cluster setup steps work as expected in the k0s website.