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.
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.32.1 or later on the air-gapped cluster
Kubernetes version: v1.34.3
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.32.1 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:
Download container images and Helm charts:
Download the NVIDIA Run:ai air-gapped tarball to the same working directory:
Contact NVIDIA Run:ai Support to request the tarball, or use the following command:
Replace
<RUNAI_JFROG_TOKEN>with the token from your/cm/shared/runai/credential.jwtfile and2.23.xwith the target Run:ai patch version. Use the latest available patch in the 2.23 line (for example,2.23.68at the time of writing). You can browse the available patch versions at https://runai.jfrog.io/artifactory/runai-airgapped-prod/.Verify the directory contents resemble the following:
Verify file integrity with
md5sumand 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):
Install Air-Gapped Package Requirements
All remaining steps are performed on the air-gapped cluster head node.
Access the active BCM head node via ssh:
Extract the archive:
Navigate to the extracted directory:
On Ubuntu, move it to
/tmp/air-gappedfirst. 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 packages on the head node and into the required software images. For BCM HA clusters, repeat these steps on the secondary head node.
Example
For Ubuntu Linux with two software images for Kubernetes installation:
For Rocky or RHEL 9u3 Linux with one software image:
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.
Run the Docker wizard:
Select the active head node and click Save & Deploy.
Verify Docker is running:
Push Container Images and Helm Charts
From the air-gapped directory, push all container images to the local registry:
Push the Helm charts:
Run
push_helm_charts.sh --helpto see available flags.
Deploy Using the Wizard
Access the active BCM head node via ssh:
Verify the BCM version:
Create the following files in the
/cm/shared/runai/directory populating each respectively from the linked content. Similarly, populate validation test files respective to the DGX platform:Verify that all files from the Preparations section and the step above have been created and are present:
Run the following command to initiate deployment via an interactive command-line assistant:
Select Deploy Kubernetes installation wizard and click Ok to proceed. If
cm-kubernetes-setupis being run from GB200 or GB300, refer to the second screenshot:


Select the relevant Kubernetes version. This guide, employing Base Command Manager 11.32.1, is based on and requires Kubernetes 1.34. Click Ok to proceed:

The next step inquires if there's a Docker Hub registry mirror available. It's recommended that a local registry mirror be employed when available. For the purpose of this guide, leave the default value (blank) and click Ok to proceed:

Insert values for the new Kubernetes cluster that NVIDIA Run:ai will be installed into. Click Ok to proceed:
The Kubernetes cluster name should be a short, unique name that can be used to distinguish between multiple clusters (i.e.
k8s-user).The
k8s-user.localvalue for Kubernetes domain name is the default value for internal (within the Kubernetes cluster) name resolution and service discovery. It should be unique to distinguish it from the NMC cluster on DGX GB200 & GB300 SuperPODs. Common practice is to avoid using the same domain for the internal Kubernetes domain name and externally referenceable FQDN to avoid potential name resolution inconsistencies.The Kubernetes external FQDN field refers to the domain name that the Kubernetes API Server will be proxied at and will be automatically populated by BCM. If a valid name record (FQDN) for the BCM head node has been established prior that should be entered here. Please see the reference architecture section of the BCM Containerization Manual for details on how this is implemented via an NGINX proxy.
The Service network base address, Service network netmask bits, Pod network base address, & Pod network netmask bits fields provide CIDR ranges for Kubernetes service and pod networks. These will be pre-populated (taking care to avoid overlapping ranges from networks known to BCM) from private, non-routable ranges.

The next step asks about exposing the Kubernetes API server to the external network. Select no and click Ok to proceed:

The preferred internal network is used for Kubernetes intercommunication between ctrl plane and worker nodes. Select internalnet for the preferred internal network and click Ok to proceed:

Select 3 or more Kubernetes master nodes. These should be the same nodes assigned to the control plane category. The screenshot below is for illustration only - the correct category should be
k8s-system-user. See the BCM node categories section for more information. Click Ok to proceed:

Select the worker node categories to operate as the Kubernetes worker nodes. The screenshot below is for illustration only - the correct category should be
dgx-gb300-k8s,dgx-b300-k8sor similar andk8s-system-user. See the BCM node categories section for more information. Click Ok to proceed:

Skip the selection of individual Kubernetes worker nodes (the category selected in the previous step will be used instead). The screenshot below is for illustration - the correct category at this step should be
k8s-system-user. See the BCM node categories section for more information. Click Ok to proceed:

Select nodes for deploying etcd on. Make sure to select the same three nodes as the Kubernetes control plane nodes (Step 12). Click Ok to proceed:

Leave the API server proxy port and etcd spool directory values at their prepopulated values (do not modify them). Click Ok to proceed:

Select Calico as the Kubernetes network plugin. Click Ok to proceed:

Select no to installing the Kyverno Policy Engine and click Ok to proceed:

The components selected in this screen represent those required by NVIDIA Run:ai for a self-hosted installation. Select the operator and NVIDIA Run:ai self-hosted options as depicted below. Click Ok to proceed:
NVIDIA GPU Operator
Grafana Operator
Ingress NGINX Controller
Knative Operator
Kubeflow Training Operator
Kubernetes Metrics Server
Kubernetes MPI Operator
Kubernetes State Metrics
LeaderWorkerSet Operator
MetalLB
Network Operator
NIM Operator (optional)
Prometheus Adapter
Prometheus Operator Stack
Run:ai (self-hosted)

Provide the NVIDIA Run:ai configuration with the below and click Ok to proceed:
Run:ai Registry Credentials - Enter the path to a file containing the base64-encoded NVIDIA token. Alternatively the Base64 encoded value can be pasted in directly.
Run:ai Control Plane Domain Name (FQDN) - Enter the NVIDIA Run:ai control plane's fully qualified domain name (e.g.,
runai.example.com). This value should be different from the FQDN entered on the first "Insert basic values" Kubernetes setup in Step 9. It should be what was used when creating certificates (and should not be the same as the BCM head node hostname).Local CA Cert Path (.crt or .pem) - Path to the root CA certificate file if you are using a local CA–issued certificate (common in testing or internal environments). It's optional if using a certificate from a public CA.
Domain Cert Path (.crt/.pem) - Path to the full-chain certificate for your domain (the domain's leaf certificate followed by any intermediate certificates).
Domain Cert Key Path (.key) - Path to the private key that matches the domain certificate.

Select yes to install NVIDIA Run:ai components. Click Ok to proceed:

Select the
k8s-system-usernode category for the NVIDIA Run:ai control plane nodes and click Ok to proceed:

Select the required NVIDIA GPU Operator version (v25.10.0). Click Ok to proceed:

Select the required Network Operator (v25.7.0) version. Click Ok to proceed:

Select the required NVIDIA Run:ai version (v2.23.x). Click Ok to proceed:

When prompted to supply a Custom YAML config for the GPU Operator leave the default (blank) and click Ok to proceed:

Configure the NVIDIA GPU Operator by selecting the following configuration parameters. Click Ok to proceed:

Supply the path to the
netop-values.yamlfile that was created in Step 3. Click Ok to proceed:

Select Do not use pre-defined at the GPU Operator configuration step. Click Ok to proceed:

Click Ok for the MetalLB IP address pools page and it will automatically set up the requirements for NVIDIA Run:ai:

Specify the ingress IP addresses prepared as documented in the Pre-installation checklist section. The mention of MetalLB here is an indication that these will be set up as part of a load balanced pool and assigned to each respective ingress. Click Ok to proceed:

Select no to expose the Kubernetes Ingress to the default HTTPS port. Click Ok to proceed:

Leave the node ports for the Ingress NGINX Controller at the pre-populated values (do not modify them) and click Ok to proceed:

Select the serving option in the Knative Operator components dialog. Click Ok to proceed:

If deploying onto an A100 or H100 only cluster, select yes. If deploying on any other cluster configuration select no. Click Ok to proceed:

If yes was selected for the previous step, select the appropriate option for the cluster and click Ok to proceed. In certain cases, this dialog may appear even if no is selected at the preceding step:

Select yes to install the Permission Manager. Click Ok to proceed:

Select Local path as the Kubernetes StorageClass. Ensure that both enabled and default are specified. Click Ok to proceed:

Configure the CSI Provider (
local-path-provisioner) to employ shared storage (/cm/shared/apps/kubernetes/k8s-user/var/volumesas a default). Click Ok to proceed:

Select yes to enable local persistent storage for Grafana. Click Ok to proceed:

Select Save config & Exit, set an accessible location for the config file (for example:
/cm/shared/runai/cm-kubernetes-setup.conf) with the rest of the config files, and then click Ok.
The wizard saves the configuration to the path specified above. Once saved, proceed to Configure the Airgap Settings before starting the deployment.
Configure the Airgap Settings
Open /root/cm-kubernetes-setup.conf and locate the airgap block under modules.kubernetes:
Replace it with the following, adjusting values for your environment:
helm.ca
Path to the CA certificate for the local Helm/OCI registry
helm.repo
OCI URL of the local Helm chart registry
registry
Hostname and port of the local container image registry
registry_username / registry_password
Credentials for the local registry (leave blank if unauthenticated)
runai_air-gapped_tarball
Absolute path to the Run:ai air-gapped .tar.gz file
Deploy Kubernetes
With the config updated, start the deployment. Use screen or tmux to prevent interruptions:
Connect to NVIDIA Run:ai User Interface
Upon completion of cm-kubernetes-setup, access NVIDIA Run:ai at the ingress IP or hostname specified earlier (e.g. runai.example.com). The default NVIDIA Run:ai credentials required for login are:
User:
test@run.aiPassword:
Abcd!234
You will be prompted to change the password.
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.
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.
Install using Helm:
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.32.1 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:
Alternatively, the Base Command Manager installation assistant can generate this config with the following steps:


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 run the package installation script for each new image:
Last updated