Skip to content

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.

From the AUR:

Terminal window
yay -S k0s-bin

Or manually:

Terminal window
git clone https://aur.archlinux.org/k0s-bin.git
cd k0s-bin
makepkg -si

Via the install script:

Terminal window
curl --proto '=https' --tlsv1.2 -sSf https://get.k0s.sh | sudo sh

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.

Arch does not ship SELinux. Skip the SELinux configuration unless you have manually installed and enabled it.

The commands are identical to standard Fedora:

Terminal window
# Single node
sudo k0s install controller --enable-worker --no-taints
sudo k0s start
# Verify
sudo k0s status
sudo k0s kubectl get nodes

For multi-node setups, follow the same controller/worker split described in the Fedora section.