Supported versions and architectures
The steps on this page apply to both Ubuntu 22.04 LTS and Ubuntu 24.04 LTS.
Step 1: Install required tools
- Install
kubectlusingsudo snap install kubectl --classic - Install
jqusingsudo apt install -y jq - Install
yq(versionv4.49.2or later) from the yq releases page- Download
yq_linux_amd64.tar.gzoryq_linux_arm64.tar.gzand install it to/usr/local/bin/yq
- Download
- Install
terraform(version1.8.5) from the Terraform 1.8.5 releases page- Download
terraform_1.8.5_linux_amd64.ziporterraform_1.8.5_linux_arm64.zipand install the binary to/usr/local/bin/terraform unzipis required to extract the Terraform binary
- Download
- Install
skopeo(versionv1.18or later) from the skopeo-binary releases page- Download
skopeo-linux-amd64orskopeo-linux-arm64and install it to/usr/local/bin/skopeo
- Download
Step 2: Configure the containers trust policy
Ensure the containers trust policy at/etc/containers/policy.json allows skopeo to access the RKE2 registry with the minimum required permissions. Replace <installation-bundle-path> with the fully qualified path to the root of the unpacked installation bundle. This allows the bundled images to be loaded into the local RKE2 registry during Step 2 of the on-premises installation.
Step 3: Configure kernel parameters
Poolside file watchers can exceed the Ubuntu default for inotify instances. Set the following parameter to65535 or higher:
/etc/sysctl.d/ and reload:
Step 4: Disable the nouveau driver
Confirm that the nouveau graphics driver is not loaded. For instructions, see Disable the nouveau driver in the NVIDIA documentation.
Run the following command to check whether the nouveau driver is loaded. If the command returns output, follow the next steps to turn off the driver and reboot.
nouveau driver is loaded:
Step 5: Choose a GPU driver installation method
When no NVIDIA driver is installed on the host, the GPU Operator compiles and installs one from its driver container. The container needs the packages for the running kernel from external Ubuntu repositories, an internal APT mirror, or the host APT cache.The driver compiled by the GPU Operator is not signed and is not compatible with Secure Boot. If you require Secure Boot, preinstall the driver on the host.
Use external Ubuntu package repositories
If the host can reach the Ubuntu package repositories and Secure Boot is disabled, do not preinstall an NVIDIA driver. The GPU Operator installs the driver during Step 2 of the on-premises installation.Use the host APT cache
On an air-gapped host, the GPU Operator can compile the driver if you ranapt update before disconnecting the host and the APT cache contains these packages for the kernel version reported by uname -r:
linux-headers-<kernel-version>linux-image-<kernel-version>linux-modules-<kernel-version>
Use an internal APT mirror
If the host can reach an internal APT mirror, configure the GPU Operator driver container to use it. Before you run Step 2 of the installation, add the following configuration to02-infra-services/terraform.tfvars:
package_repository_config_b64: A base64-encoded APT repository configuration in the format described in NVIDIA’s air-gapped GPU Operator documentationca_certificate_config_b64: An optional base64-encoded CA chain, including intermediate certificates, when the mirror uses a TLS certificate signed by an internal CAenvironment_variables: An optional map ofNAME = VALUEenvironment variables passed to the driver container, such asPROXYandNO_PROXY
Preinstall the NVIDIA driver
Preinstall the driver if you require Secure Boot or the GPU Operator cannot access the required kernel packages. Follow the NVIDIA driver installation instructions for Ubuntu. Install NVIDIA driver version , which is the version fully validated with this installation bundle. Earlier driver versions are not supported. Later versions might work, but can cause compatibility issues because they have not been validated against this bundle. After you install the driver, runnvidia-smi and confirm that it reports the host GPUs. During installation, the GPU Operator detects the host driver and skips driver compilation.
Step 6: Verify prerequisites
Your host is ready when the following checks pass:-
Confirm that the required tools are installed and on the path:
-
Confirm that the
nouveaudriver is not loaded. This command returns no output: