Operating system

Install a supported operating system on every host and configure privileged access, SSH, swap, time synchronization, locale, and networking, adding packages on RHEL and Ubuntu hosts where needed.

Supported operating systems

Install a minimal or standard server image on every host, with no desktop environment. The following releases are supported:

Table 1. Supported operating systems
Operating system Supported release Testing coverage
Ubuntu Server 26.04 LTS, 64-bit Primary platform, most heavily tested
RHEL 9, 64-bit, 10 Supported, with the additional packages described in Additional packages for RHEL hosts

Host operating system configuration

Configure every host as follows before you start the installer:

Table 2. Host operating system configuration
Setting Requirement
Privileged user A non-root login user with passwordless sudo on every host
SSH An SSH server reachable from the life-cycle manager host, with key-based authentication
Swap Disabled, because Kubernetes requires swap to be off
Time synchronization Chrony or NTP on every host, with the offset held below 0.5 seconds
Locale A UTF-8 locale, such as en_US.UTF-8
Network Bonds and tagged VLANs configured and verified, as described in Networking requirements

Additional packages for RHEL hosts

RHEL minimal images lack packages that Kubernetes and the life-cycle manager depend on, and the life-cycle manager does not install them. The following table describes why each package is needed:

Table 3. Additional RHEL packages
Package Purpose
systemd-resolved Provides the service that the Kubernetes DNS setup restarts
kernel-modules-extra Provides the ip_set and br_netfilter modules that the kube-proxy and the network plugin need
iptables-nft Provides the iptables binary that the port mapping plugin needs for host port Pods
keepalived Provides the virtual IP service, needed on control plane hosts only

Run the following commands on all RHEL hosts. The host needs a registered subscription with the repositories enabled:

sudo dnf install -y systemd-resolved iptables-nft kernel-modules-extra-$(uname -r)
sudo systemctl enable --now systemd-resolved
sudo modprobe br_netfilter ip_set

Run the following command on the control plane hosts only, and only when the site uses a control plane virtual IP:

sudo dnf install -y keepalived

Virtual IP package for Ubuntu hosts

A control plane virtual IP is optional. When the site uses one, install keepalived on every control plane host before you start the installer, because the life-cycle manager does not install it. The virtual IP stage fails and names any host where the package is missing. On Ubuntu hosts, run the following command:

sudo apt-get install -y keepalived