Air-Gapped Deployment
This guide covers end-to-end deployment of NVIDIA Run:ai on a cluster with no internet access, including air-gapped-specific steps for preparing and transferring artifacts offline. From BCM 11.34, the installation is decoupled into two wizards: cm-kubernetes-setup provisions Kubernetes and the NVIDIA Run:ai dependencies, and cm-runai-setup then deploys NVIDIA Run:ai itself.
Complete the Preparations checklist before starting. All infrastructure requirements (IP addresses, DNS records, TLS certificates, credentials) are the same for both connected and air-gapped deployments.
Prerequisites and Requirements
BCM version: 11.34 or later on the air-gapped cluster
Kubernetes version: v1.35.7
Operating system: Ubuntu 22.04, Ubuntu 24.04, Rocky Linux 9u3, or RHEL 9u3
Architecture: All nodes in the cluster must share the same architecture (x86_64 or arm64). Mixed-architecture clusters require additional manual steps not covered by this guide.
The initial steps must be performed on a separate internet-connected host with:
The same OS and architecture as the air-gapped cluster
BCM package repositories configured
The
airgap-scriptsdirectory from BCM 11.34 or laterInternet access
Prepare Air-Gapped Requirements
All steps in this section are performed on the internet-connected host.
Add the airgap scripts to
PATH:If the
cm-setuppackage is installed, the scripts are located at:When the
cm-setupmodule is loaded (enabled by default), this path is available via theK8S_AG_SCRIPTSenvironment variable:If
cm-setupis not available, copy the scripts to the host manually before proceeding.
Install Helm to
/usr/local/bin/helm:Run the included helper script:
Verify the installation:
Install Docker and skopeo. On a BCM head node:
Run
apt updateif needed, then install skopeo:Run
cm-docker-setupto configure Docker, then load the Docker module:Otherwise, follow the Docker Engine installation instructions for your OS.
Verify Docker is running:
Create a working directory and run the download scripts from within it:
Create the directory and navigate into it:
Run the OS-appropriate package download script, then download the container images, Helm charts, and CRDs:
Download the NVIDIA Run:ai air-gapped tarball to the same working directory. Air-gapped packages are published as an NGC Resource; browse the NGC Resource page to select the required version. This step requires an NGC Personal Key (beginning with
nvapi-); see NGC Personal Keys for more information.Before running the
curlcommand, set the following variables. To avoid writingNGC_CLI_API_KEYto.bash_history, useread -rs -p "NGC API key: " NGC_CLI_API_KEYinstead of a plain assignment:Run the following command:
Verify the directory contents resemble the following:
Verify file integrity with
sha256sumand confirm the checksum matches the value provided by NVIDIA Run:ai Support.
From the parent directory, create a single archive and transfer it to the active head node of the air-gapped cluster (for example, via USB or a secure file transfer):
Generate the Deployment Configuration
All remaining steps are performed on the air-gapped cluster head node.
Access the active BCM head node via ssh:
Verify the BCM version:
Create the configuration and validation files in
/cm/shared/runai/exactly as described in steps 3–4 of the Connected deployment guide (DGX platform configuration files, certificates, credentials, and validation test files).Start the Kubernetes wizard with the air-gap options so it pre-configures air-gapped deployment mode:
Replace
master.cm.cluster:5000with your container registry address if different.master.cm.cluster:5000is the default for the BCM container registry installed later in this guide.Proceed through the wizard screens exactly as described in Connected deployment (steps 6–35), with one difference: at the summary screen (step 36) select Save config & Exit to write the configuration to
/root/cm-kubernetes-setup.conf.
Install Air-Gapped Package Requirements
Extract the archive transferred from the internet-connected host:
Navigate to the extracted directory:
On Ubuntu, move it to
/tmp/airgappedfirst. This is required becauseaptruns as the_aptuser, which lacks permissions to access files under/root:On Rocky Linux or RHEL, change into the directory in place:
Add the airgap scripts to
PATH:Install the packages on the head node and into the required software images. The required software images are determined automatically from the configuration file:
For BCM HA clusters, run this step only on the active head node. BCM updates software images and uses CMDaemon to install packages on the passive head node automatically. See the NMC Software Installation Guide for details.
Install Docker and Docker Registry
Run the container registry wizard:
Select the active head node.
Ensure the container registry hostname is added, and use a custom domain name or additional Subject Alternative Name:
master.cm.cluster.Click Save & Deploy.
On the head node, Helm must talk to this registry without TLS issues. Copy the registry CA and update the system trust store:
Run the Docker wizard:
Select the active head node and click Save & Deploy.
Verify Docker is running:
Push Container Images and Helm Charts
Push all container images to the local registry:
Push the Helm charts:
Extract the downloaded CRD files:
Deploy Kubernetes
With the packages installed, the registry populated, and the CRDs extracted, deploy Kubernetes from the saved configuration. Use screen or tmux to prevent interruptions:
Deploy NVIDIA Run:ai Using the Wizard
Once cm-kubernetes-setup has completed, deploy NVIDIA Run:ai with the dedicated cm-runai-setup wizard. This wizard is provided by the cm-setup-runai-bcm11 package, which is included in the NVIDIA Mission Control (NMC) air-gapped bundle. See Downloading Artifacts in the NMC Software Installation Guide.
Install the
cm-setup-runai-bcm11package from the NMC air-gapped bundle on the BCM head node:Run the wizard with
--skip-packages(required for air-gapped deployments so the wizard does not attempt to auto-update over the internet):Select Deploy and click Ok to proceed:

If another Kubernetes cluster is managed by BCM (such as
k8s-adminfor NVIDIA Mission Control), a Pick Kubernetes cluster prompt appears. Selectk8s-userand click Ok to proceed:

Select the self-hosted NVIDIA Run:ai deployment mode and click Ok to proceed:

The wizard detects that it is deploying onto an air-gapped Kubernetes cluster and prompts for the NVIDIA Run:ai air-gapped tarball location. Enter the path to
runai-airgapped-package-2.26.x.tar.gzand click Ok to proceed:

Provide the NVIDIA Run:ai configuration (control plane FQDN and certificate/key paths) as described in step 5 of the Connected deployment
cm-runai-setupsection. Click Ok to proceed:

Select yes to deploy the NVIDIA Run:ai cluster. Click Ok to proceed:

Select the node category for the NVIDIA Run:ai control plane nodes. Select
k8s-system-user, the same category used for the Kubernetes control plane nodes. Click Ok to proceed:

Select the required NVIDIA Run:ai version (v2.26.x). The
xis replaced with the latest patch version available for the chosen minor version. Click Ok to proceed:

The wizard validates the control plane DNS configuration. Confirm the DNS check passes and click Ok to proceed:

If the wildcard FQDN is not validated (for example, if it does not yet resolve), the wizard instead shows a warning listing the DNS check issue and asks whether to continue. Select yes to allow the deployment to proceed without issue:

Specify the load balancer IP addresses for the NVIDIA Run:ai control plane ingress (
runai-gateway) and for NVIDIA Run:ai inference (knative-gateway), prepared as documented in the Pre-installation checklist section. Click Ok to proceed:

Select Save & Exit at the summary screen, then click Ok.

Run the deployment from the saved configuration (keep
--skip-packagesfor air-gapped):
When the setup completes, NVIDIA Run:ai should be up and running:
Connect to NVIDIA Run:ai User Interface
Upon completion of cm-runai-setup, access NVIDIA Run:ai at the ingress IP or hostname specified earlier (e.g. runai.example.com). The NVIDIA Run:ai credentials required for login were entered down in step 6:
On first access, administrators are presented with an optional onboarding wizard that helps with initial setup tasks. The onboarding wizard can guide you through:
Configuring single sign-on (SSO)
Inviting the first research team
You can choose to complete or skip the onboarding wizard and perform these actions later.
Post-wizard Deployment Steps
After the BCM installation assistant completes, additional steps are required.
If multiple Kubernetes clusters are configured in this instance of BCM, load the correct Kubernetes module before running all post-wizard commands:
NVIDIA Dynamic Resource Allocation (DRA) Driver
The NVIDIA DRA Driver for GPUs extends how NVIDIA GPUs are consumed within Kubernetes. This is required to enable secure Internode Memory Exchange (IMEX) on Multi-Node NVLink (MNNVL) systems (e.g. GB200, GB300) for Kubernetes workloads and should be included with all NVIDIA GPU systems.
To install the driver in an air-gapped environment, follow Install the NVIDIA DRA Driver in the NVIDIA Mission Control documentation.
Multi-Node NVLink (MNNVL) platforms (e.g. GB200, GB300) only - Create a
dra-computedomain-test.yamlfile in/cm/shared/runaifrom the Validation tests. The test co-locates its worker pods within a single NVL clique automatically viapodAffinitywithtopologyKey: nvidia.com/gpu.clique, so there is no clique ID to edit for a single-rack NVL72 cluster. For multi-rack systems, adjust thepodAffinitytopologyKeyto match your topology:Multi-Node NVLink (MNNVL) platforms (e.g. GB200, GB300) only - Validate the test successfully completed and inspect the logs of the launcher:
Multi-Node NVLink (MNNVL) platforms (e.g. GB200, GB300) only - Cleanup test:
Enable DRA and Multi-Node NVLink
The default NVIDIA Run:ai configuration does not expose DRA features. After installing the DRA components, this can be enabled by modifying the runaiconfig in the cluster. See Advanced cluster configurations for more details:
Instructions for validating the change and reverting if necessary:
Configure the Network Operator
In version 11.34 of the BCM installation assistant, the Network Operator requires additional configuration on DGX B200 / GB200 & B300 / GB300 SuperPOD / BasePOD systems. While the operator is installed in a preceding step, it does not automatically initialize or configure SR-IOV and secondary network plugins.
The following CRD resources have to be created in the exact order as below:
SR-IOV Network Policies for each NVIDIA InfiniBand NIC
An nvIPAM IP address pool
SR-IOV InfiniBand networks
Create SR-IOV network node policies using the
nic-cluster-policy.yamlthat was created in an earlier step:Create an IPAM IP Pool using the
combined-ippools.yamlthat was created in an earlier step:Create the SR-IOV IB networks using the
combined-sriovbnet.yamlthat was created in an earlier step:Create the SR-IOV Node Pool configuration using the
sriov-node-pool-config.yamlappropriate for the DGX platform:
Validate by describing one of the DGX nodes and checking for SRIOV devices:
Create the test file matching your platform's fabric in
/cm/shared/runaifrom the Validation tests page, then validate by running it. Apply only the test that matches the cluster's fabric (InfiniBand or Spectrum-X / RoCE), not both:For GB200 & GB300 (InfiniBand fabric) - ib-bandwidth-test.yaml (requires the
ngc-nvcrimage pull secret created in the DRA driver section above):For B200 & B300 (InfiniBand fabric) - ib-nccl-test.yaml:
For B300 SuperPOD with Spectrum-X (RoCE Ethernet fabric) - roce-nccl-test.yaml:
(Optional) Apply Security Policies
By default, BCM Kubernetes deployment has permissive security policies to ease in development environments. For production clusters or in secure environments, it's recommended to take additional steps to harden the cluster. This includes steps such as configuring permission manager, applying Kyverno policies, and applying Calico policies.
For deployments of NVIDIA Run:ai as a part of NVIDIA Mission Control, please reach out to your NVIDIA representative for the latest example configurations and suggested policies. The Mission Control software installation guide's Kubernetes Security Hardening documentation provides guidance for application and links for obtaining the latest policy manifests.
(Optional) Create Node Pools
See Node pools to create and manage groups of nodes (either by predefined node label or administrator-defined node labels). This optional configuration step can be used for advanced deployment scenarios to allocate different resources across teams or projects.
(Optional) Add Additional Users
See Users for steps on adding additional users beyond the initially created account or configuring SSO authentication.
(Optional) Install the NVIDIA Run:ai Command Line Tool
To obtain the command line binary, see the Install and configure CLI section.
Test the Command Line Tool Installation
Validate the installation by running the following command:
Set the Control Plane URL
The following step is required for Windows users only. Linux and Mac clients are configured via the installation script.
Run the following command (substituting the NVIDIA Run:ai control plane FQDN value specified in previous steps) to create the config.json file in the default path:
Validate NVIDIA Run:ai
To validate the installation, please refer to the quick start guides for deploying single-GPU training jobs, multi-node training jobs, single-GPU inference jobs, and multi-GPU inference jobs. Certain NGC workloads may require adding an NGC API key and docker credentials into the cluster as an image pull secret; see the image pull secret instructions in Validation tests.
Validate the ingress IP for NVIDIA Run:ai inference is configured.
EXTERNAL-IPshould have the value configured in the prior MetalLB steps:Validate distributed training workloads, see Run your first distributed training workload.
Validate distributed inference workloads, see Run your first custom inference workload.
Troubleshooting Common Issues
Post-Installation Notes
Adding new software images
In air-gapped clusters, BCM cannot automatically provision new software images for worker nodes (this functionality requires internet access). When deploying new software images, administrators must manually install the packages into each new image by adjusting the configuration file to specify the appropriate target nodes and node categories, then running:
Uninstallation
Uninstalling Kubernetes also removes NVIDIA Run:ai. The simplest method is to run the cm-kubernetes-setup wizard and select Uninstall, or run:
To remove only NVIDIA Run:ai while leaving the Kubernetes cluster in place, use the cm-runai-setup wizard's Uninstall option, or run:
Last updated