Deploy Config Manager in an Airgapped Environment
For environments without internet access, NVIDIA Config Manager provides a comprehensive airgapped deployment workflow that bundles everything needed for offline installation.
You might need to deploy Config Manager in an airgapped environment in situations such as:
- Secure environments — Isolated networks with no external connectivity
- Regulated industries — Compliance requirements prohibiting external connections (for example, HIPAA, PCI-DSS, government)
- Edge deployments — Remote locations with limited or no internet connectivity
- Reproducible installs — Version-locked bundles for consistent deployments
Follow the instructions on this page to deploy a self-contained bundle for an airgapped environment. The bundle includes the Helm chart, container image tarballs, dependency charts and manifests, operator version pins, image loader manifests, an OCI registry upload helper, and the offline installer package.
This process is different from Nautobot’s Load Bootstrap Data job which seeds initial data into Nautobot. This tool uses deployment bundles for offline Kubernetes environments.
Prerequisites
The instructions on this page assume you have a pre-built deployment bundle available, from NVIDIA or another source. If you do not have a deployment bundle, follow the instructions in Appendix: Developer Details to create your own.
The following components are assumed to be pre-installed and configured by your platform team:
ZTP and DHCP IP Addresses. The deploy script requires the IP addresses for the ZTP and DHCP load balancer services. To find available IPs for ZTP and DHCP services, query the existing MetalLB IP address pool:
-
List configured IP address pools:
-
View pool details including address ranges:
The output of the second command resembles the following example, which shows a pool of available IP addresses from
10.0.100.200through10.0.100.210: -
From the output of the second command, select two unused IP addresses for ZTP and DHCP services.
Use these addresses with the
--ztp-lb-ipand--dhcp-lb-ipflags when deploying Config Manager. -
Set the
--lb-allowed-prefixesflag for the deploy script to the OOB (out-of-band) management network CIDR(s) from which devices will reach these services.
Transfer and Extract the Bundle
Transfer the bundle to the target host by using a storage medium or another approved transfer method.
The extracted bundle has the following layout:
Stage any site-specific content that the installer will reference, such as custom Nautobot jobs, template plugins, and OS images for ZTP, on storage that is reachable from the target host.
External DCIM provider packages
If install.yaml uses an external DCIM provider package, its OCI wheel image
is site-specific and is not discoverable from the Config Manager chart. Build
the bundle with an additional image list containing the exact image from the
provider’s provider_packages entry:
The image is then handled like every other bundled image: upload it through
upload-to-registry.sh or preload it on each cluster node before deployment.
The package itself must implement the entry-point and SDK contract described in
Contribute a DCIM Provider.
Prepare Images and Charts
Before deployment, Config Manager images must either be reachable from an OCI registry inside the airgapped environment, or preloaded onto the target cluster nodes.
Upload Images and Chart to a Registry
If the target cluster can pull from an internal registry, push the bundled image archives and packaged chart to an OCI-compliant registry that the cluster can reach.
The helper writes image-map.tsv with source and target image references. Use that map when configuring the container image registry and prefix values in install.yaml.
Use these options when they apply:
--include-dependency-chartsmirrors dependency chart tarballs undercharts/.--plain-httpallows Helm chart upload to local HTTP registries used in test environments.
Preload Images onto Nodes
If the target environment does not have an internal registry, preload the image tarballs before deploying.
For Kind or single-node test clusters, load images directly from the bundle:
For multi-node clusters with shared storage, copy images/ to the shared path and run the loader as a DaemonSet:
For SSH-based loading, provide the shared image path and node access details:
After preloading images, configure install.yaml with image references that match the images loaded into the node container runtimes.
Bootstrap the Installer TUI
Install the bundled installer package on the target host and verify the TUI is available.
The bootstrap script creates a local virtual environment from bundled wheels and does not require internet access on the target host. It also exposes the longer ./installer/nv-config-manager-installer command for compatibility.
Create a Configuration
Launch the TUI and save a repeatable installer configuration.
At minimum, confirm the following sections before deploying:
For more information about the configuration options, see the TUI Wizard Reference.
Treat install.yaml as sensitive. Depending on the choices you make in the TUI, it can include secret values or references to secret material.
Resource Profiles
Config Manager provides pre-configured resource profiles through the TUI Size field.
The requirements for the large profile are cumulative across all nodes. For example, a three-node cluster can satisfy the profile with 32 vCPUs and 86 GB RAM per node.
Deploy Config Manager
Deploy from the extracted bundle after install.yaml is complete and images are either reachable from the configured registry or preloaded on the cluster nodes.
When cluster.airgapped is true, the installer resolves operator manifests and dependency charts from the local bundle instead of the network.
If you preloaded images instead of uploading them to a registry, keep cluster.airgapped enabled and make sure the container image values in install.yaml match the references loaded into the node container runtimes.
To learn more about the installer and configuration screens, see the main installer documentation.
Verify Deployment
For common failure modes and recovery steps, see the Troubleshooting page.
After deployment, verify that pods are running, services are present, and the gateway is available. The commands below use the default nv-config-manager namespace; replace it if install.yaml uses a different namespace.
Configure DNS or /etc/hosts for the selected base hostname and service subdomains. In the example below, replace GATEWAY_IP with the gateway address from your deployment.
After pods are running and DNS is configured, open the Nautobot UI in your browser, for example https://nautobot.config-manager.example.com, and log in with the admin credentials.
After Deployment
Deploying Config Manager with the installer, including any post-deploy Nautobot jobs, is the only step required for day-0 bring-up.
How Devices Get into Config Manager
Devices enter Config Manager through the selected DCIM provider. With the bundled Nautobot provider, you can create them manually, through the Nautobot API, or with a post-deploy job such as a Nautobot Design Builder topology loader. The local SuperPOD profile includes a mock topology Design Builder job in development/mock_topology that you can use as a model before building your own offline context or job bundle. Refer to Design Builder Data Loading for the job structure.
How ZTP Starts
ZTP is initiated by the device, not by Config Manager. As soon as Config Manager has sufficient data from the selected DCIM provider, it serves DHCP on the configured network. When a device is cabled and powered on, it gets an IP address and boot file from DHCP, then retrieves its configuration and firmware from the ZTP service. The provider records successful ZTP completion; the bundled Nautobot provider sets the device status to Provisioned.
If a Post-Deploy Job Fails
Validation or runtime errors from post-deploy jobs appear in the installer deploy output. Fix the job code, Design Builder design files, or context data and re-run the deployment with the same content.run_after_deploy configuration.
Run Integration Tests After Deployment
After deployment and site data loading finish, run the integration suite from the extracted bundle directory:
This command runs tests against the existing deployment without running the deployment pipeline again. With a config file, it uses that file’s namespace and Helm release name and the current Kubernetes context. To select a kubeconfig explicitly:
If the deployment was managed by other tooling and you do not have an installer config, pass the target directly:
Both --namespace and --release-name are required when the config path is
omitted. Flags override the corresponding settings when a config is supplied;
the config file is not rewritten. For client-credentials authentication, a
nonempty client_id in the selected OIDC Secret takes precedence over the
client ID from flags or config.
The installer executes the integration tests already included in the deployed
Config Manager image, inside the ZTP pod’s sftp container. No cloned
repository, Makefile, host-side pytest installation, internet access, or image
pull is needed. The runner supplies internal URLs for Nautobot, Render, ZTP,
DHCP, and Temporal. Other fixtures still derive gateway URLs from the default
config-manager.local hostname. With sign-in disabled, MCP tests default to
https://mcp.config-manager.local/mcp. The runner neither sets MCP_URL nor
passes --base-hostname. A different deployment hostname can therefore cause
failures even when its services are healthy. These gateway endpoints must be
resolvable and reachable from the ZTP pod.
The operator host needs Kubernetes API access. Its credentials must allow listing
pods, reading the nautobot-admin Secret, and executing commands in pods in the
deployment namespace.
With SSO enabled, client-credentials authentication also requires read access
to the selected OIDC Secret: oidc-client-secret by default, or the Secret
selected with --oidc-client-secret-name. Token-file authentication does not
require OIDC Secret access.
SSO Deployments with Keycloak
Keep sso.enabled: true in install.yaml. The same command supports unattended
Keycloak authentication:
Without an installer config, supply the SSO settings as flags:
Use the actual configured client ID and a realm URL reachable from the test
pod. --oidc-issuer-url overrides either issuer URL in an existing config.
--sso enables authentication without a config; --no-sso explicitly disables
it. With a config, its SSO setting is retained unless either flag is supplied.
For SSO without --oidc-token-file, the installer reads the selected OIDC
Secret, oidc-client-secret by default. It uses the Secret’s nonempty
client_id, if present; otherwise, it uses --oidc-client-id or
sso.client_id from the config. It reads client-secret or client_secret
from the Secret. Operators do not need to extract or copy the secret value.
Configure the realm’s sso.issuer_url. If Keycloak has an internal cluster address, set
sso.internal_issuer to that realm URL so the ZTP pod can reach it.
The Keycloak client must have Client authentication and Service accounts roles enabled. Its tokens need an audience accepted by Config Manager and the roles required by the APIs and workflows being tested. A browser/PKCE client configuration alone does not enable client-credentials grants; ensure the Keycloak configuration includes this capability before using it for unattended tests. The runner does not change Keycloak client settings.
To use a separate test client, reference its existing Secret instead:
That Secret must contain client_id and client_secret (or client-secret).
The runner obtains tokens from Keycloak inside the pod and renews them before
expiry. Both external and internal HTTPS realm URLs require the deployed image
to trust the issuer’s CA. An internal HTTP URL sends the client secret without
TLS; use HTTP only when the connection has other transport protection.
Alternatively, automation that already issues access tokens can provide a protected file containing only the token:
This token must remain valid for the entire run. Neither mode opens a browser or writes an interactive token cache. Use this token-file mode for OIDC providers other than Keycloak. Keycloak or token failures cause the tests to fail, rather than skipping SSO coverage. Both the installer and the deployed Config Manager image must include this headless OIDC test support. These checks authenticate requests to internal services; they do not validate the external gateway’s browser login flow.
Test Prerequisites and Results
Before running, confirm that:
- The deployed image includes the integration suite and pytest, as the bundled
Config Manager image does, and the ZTP
sftpcontainer is ready. - The bundled Nautobot provider and the services under test are running, and site topology and templates have been loaded. Tests that require devices or rendered configurations fail when that data is missing.
- Site data matches the suite’s topology assumptions. The SMN DHCP pool check
expects
10.240.164.64/31when SMN uplink/31subnets are present. Other valid site addressing can fail this check withKeyError. The full suite is not a general acceptance test for arbitrary site topologies. - For SSO deployments, Keycloak client credentials or an access-token file are
available as described above. External DCIM providers are not supported by
this runner. It assumes the bundled chart’s default resource naming, without
nameOverrideorfullnameOverride.
Test output streams to the terminal. Exit status 0 means pytest completed
successfully; a nonzero status means tests failed or could not run. Review
skipped tests as well: optional and CI-only checks do not run by default. These
are live service integration tests, including render and workflow requests;
they do not certify a complete physical switch repave or DHCP/PXE boot cycle.
If an older installer reports No such command 'test', it does not expose the
standalone runner. Use an updated offline installer package that includes this
command. The TUI’s Run integration tests option runs as part of deployment
and does not provide a test-only rerun.
Post-Deployment Checks
Open the Config Store UI, such as https://config-manager.example.com/configs, and confirm that intended configs are present for every device that should be rendered. If renders are missing, check the render service logs.
The commands below use the default nv-config-manager namespace; replace it if your deployment uses a different namespace.
Search log output for RenderException, Error processing event, or Python tracebacks to identify the failing device and cause.
To verify that devices have DHCP reservations, call the DHCP config endpoint, usually https://dhcp.config-manager.example.com/config?ip_version=4, and search for the device by hostname, IP address, or device UUID.
To verify that DHCP has sufficient data from the selected DCIM provider, check the logs of the config-refresh-v4 container in the DHCP refresh pods.
Iterative Deployment and Post-Deploy Changes
Before upgrading an existing deployment to 1.4.3, complete the upgrade checks, including any firewall-app cleanup while the old Nautobot image is still available.
You do not need to redeploy from scratch when you change data, add images, update templates, or upgrade versions. Treat install.yaml as the source of truth: re-open it with ./installer/nvcm-installer init --config install.yaml, adjust the configuration, and deploy again.
The deployer detects existing releases and restarts services only when relevant staged content changes.
Update Nautobot or Site Data
To change topology, devices, or other data managed by a post-deploy job, edit that job’s context data or design files and re-run the deployment with the same post-deploy job configuration.
You can also make changes in the Nautobot UI. For subsequent deployments, remove the job configuration if you do not want the job to overwrite UI changes.
Add or Update OS Images
With file-backed OS image storage, add or update image entries in the OS Images section and re-run deployment. The installer updates the PVC layout and manifest, including checksums.
If the PVC is backed by NFS, you can also copy images into the expected path and update the manifest manually. Some environments support the ZTP upload endpoint, which can upload images without re-running deployment. See Upload Images to the ZTP Server for the full procedure.
Upgrade Cumulus or Other Platforms
Set the intended firmware version on the device or in a Config Context that applies to the device, such as by platform. You do not need a new Config Context for every image version.
For a new OS version, add a version-specific entry point in the templates repository, such as a 5.15.0 directory under the platform and role path. Templates are versioned so syntax changes can be tested per OS version.
Sample Workflows
- First-time deploy with data and images: Configure custom Nautobot jobs, post-deploy jobs, and OS images in the TUI, deploy once, and allow powered-on devices to ZTP after Nautobot data is ready.
- Data not ready at deploy time: Deploy without the post-deploy topology job or with minimal data, then re-open
install.yaml, add the job and context data, and deploy again. - Add images or templates later: Update
install.yamlwith new image or template settings, or stage files on NFS where appropriate, then deploy again.
Uninstall Config Manager
To completely remove the Config Manager platform deployment:
Operators such as Envoy Gateway, cert-manager, and CloudNativePG are cluster-level dependencies. Remove them only if they are not shared with other applications.
Appendix: Developer Details
Build the Bundle
Build the airgapped bundle on a host with internet access and permission to pull Config Manager images.
First, clone the Config Manager platform repository.
Next, build the bundle.
The script writes the bundle to deploy/airgapped/output/.
Add --include-skopeo to copy a local Skopeo binary into the bundle. When bundled Skopeo is present, the registry upload helper uses it automatically. Missing images fail the bundle build by default. Use --allow-missing-images only for diagnostics, because a bundle with missing images might not install offline.
Pre-release E2E test workflows can use --local-image-fallback after tagging local images to the same source references that the chart renders.
Validate the Bundle
Before transferring a self-built bundle, validate the archive, expected files, installer bootstrap, and registry upload path.
Start with the checksum and bundle contents on the build host:
Verify the offline installer can bootstrap from the bundled wheels:
After you create an install.yaml, validate the installer config and generated Helm values against the bundled chart:
For a full functional validation, upload the extracted bundle to a disposable internal registry and deploy into a test cluster using the same registry override path planned for production:
Validation passes when the upload helper writes image-map.tsv, the installer deploys with cluster.airgapped: true, workloads do not enter ImagePullBackOff, operator installs use bundled manifests/ and charts/, and no workload tries to pull from public source registries.