Arch Linux
Arch Linux
Section titled “Arch Linux”Arch is not on the k0s officially tested list, but it works. The kernel has everything k0s needs, and systemd is the default init system.
Install the binary
Section titled “Install the binary”From the AUR:
yay -S k0s-binOr manually:
git clone https://aur.archlinux.org/k0s-bin.gitcd k0s-binmakepkg -siVia the install script:
curl --proto '=https' --tlsv1.2 -sSf https://get.k0s.sh | sudo shFirewall
Section titled “Firewall”Arch does not enable a firewall by default. If you use firewalld, open the same ports as Fedora. If you use nftables or iptables directly, open these TCP ports: 6443, 2380, 9443, 8132, 10250, 179.
If you run no firewall, skip this step. K0s will bind to the required ports without restriction.
SELinux
Section titled “SELinux”Arch does not ship SELinux. Skip the SELinux configuration unless you have manually installed and enabled it.
Install and start
Section titled “Install and start”The commands are identical to standard Fedora:
# Single nodesudo k0s install controller --enable-worker --no-taintssudo k0s start
# Verifysudo k0s statussudo k0s kubectl get nodesFor multi-node setups, follow the same controller/worker split described in the Fedora section.