Skip to main content
Enterprise

HAMi Enterprise Air-Gap Deployment Guide

This guide walks SREs and platform engineers through deploying HAMi Enterprise offline on Kubernetes, enabling accelerator nodes, activating a license, and verifying workloads.

This delivery package uses Zarf to import images, install Helm charts, and run upgrades in air-gapped or restricted networks, reducing manual image syncing and installation-order maintenance.

Zarf packages and deploys Kubernetes applications for air-gapped or partially connected environments. It bundles images, Helm charts, scripts, and deployment actions into one portable package.

Installation itself does not require a license. Complete the software deployment first, then apply for and import the license.

Without activation, vGPU partitioning and scheduling are unavailable, and functional verification will fail.

Air-Gap Package Contents​

This guide uses the v0.1.0 Slim delivery. The archive contains the main .tar.zst package, the Zarf v0.86.0 CLI and init package for the selected architecture, package-values.yaml, configuration instructions, and operational scripts.

The archive includes NVIDIA GPU Operator, but it omits NVIDIA driver images and standalone sample workload packages. Preinstall a compatible driver on NVIDIA nodes. PPU components are available only in the amd64 archive.

Prerequisite Checks​

CheckRequirementCommand
ClusterConfirm your kubeconfig targets the intended cluster. The default bundled Resource Pool Manager (RPM) and resource pool CRDs require Kubernetes 1.30 or later.kubectl version
NodesConfirm node architecture and container runtime. NVIDIA nodes need a compatible driver and NVIDIA Container Toolkit. Select the bundled GPU Operator if you need it to install the toolkit.kubectl get nodes -o wide
StoragePrepare persistent storage if you use the Zarf built-in registry.kubectl get storageclass

Extract, Verify, and Install Zarf​

Contact your Dynamia representative or delivery team for the archive and matching .tar.gz.sha256 file for your architecture. Put both files in the same directory.

Delivery archiveSHA-256
hami-enterprise-slim-v0.1.0-airgap-amd64.tar.gzc59343490f7333e0b0fb97b037c0b7fccb13c88e7ccbe66ea7cf6292567a7401
hami-enterprise-slim-v0.1.0-airgap-arm64.tar.gz0008eb2ed55b6c3bda6d9cac3c9fc5382a416d8903ab883cc0ed5f0c792f7e3b

From the archive directory, run the following commands. For arm64 clusters, set ARCH to arm64. If the checksum check fails, obtain a matching set of delivery files before continuing. Run the remaining commands from the extracted directory with ARCH and PACKAGE still set.

ARCH=amd64
BUNDLE="hami-enterprise-slim-v0.1.0-airgap-${ARCH}"
shasum -a 256 -c "${BUNDLE}.tar.gz.sha256" &&
tar -xzf "${BUNDLE}.tar.gz" &&
cd "$BUNDLE" &&
PACKAGE="./${BUNDLE}.tar.zst"

Install the matching Zarf CLI on your PATH and confirm that it reports v0.86.0:

chmod +x "./zarf-linux-${ARCH}"
sudo install -m 0755 "./zarf-linux-${ARCH}" /usr/local/bin/zarf
zarf version

Zarf bundles Helm. Use zarf tools helm to inspect Helm releases, values, and charts so you do not depend on a separate Helm installation in the target environment:

zarf tools helm version
zarf tools helm list -A

Initialize Zarf​

Before running these commands, confirm that kubectl and Zarf use the kubeconfig for the intended cluster.

Run zarf init only if the target cluster has not been initialized with Zarf. Use the labeled policy to limit image rewriting to explicitly labeled namespaces or workloads. On a cluster with an existing Zarf installation, inspect its registry, StorageClass, and Agent mutation policy instead of running zarf init again. Deploying the main package does not change an existing mutation policy.

Use the Zarf built-in registry:

zarf init "zarf-init-${ARCH}-v0.86.0.tar.zst" \
--agent-mutation-policy=labeled \
--confirm

To use an external registry, set REGISTRY_URL to the repository path for your architecture and set REGISTRY_USER and REGISTRY_PASSWORD before running this command:

zarf init "zarf-init-${ARCH}-v0.86.0.tar.zst" \
--agent-mutation-policy=labeled \
--registry-url="$REGISTRY_URL" \
--registry-push-username="$REGISTRY_USER" \
--registry-push-password="$REGISTRY_PASSWORD" \
--confirm

💡 Mixed-architecture clusters must use separate registry prefixes. AMD64 and ARM64 clusters may share the same Harbor instance, but they must not share the same Zarf registry project or repository prefix. Images in a Zarf air-gap package are packaged for the target architecture. Deploying AMD64 and ARM64 packages sequentially to the same image path does not merge identical tags into a multi-platform manifest. A later push may replace the earlier tag and cause Pods on the other architecture to pull an incompatible image after a restart or rescheduling.

During cluster initialization, use an architecture-specific --registry-url for each architecture. For example, use registry.example.com/zarf-amd64 for AMD64 and registry.example.com/zarf-arm64 for ARM64. Create the corresponding Harbor projects or repository prefixes in advance, and ensure that the account used by Zarf has push and pull permissions.

External registry parameter descriptions:

ParameterDescription
--registry-urlExternal image registry address
--registry-push-usernameUsername used to push images
--registry-push-passwordPassword used to push images

After initialization, zarf package deploy imports the images bundled in the package and uses an admission webhook to rewrite image references for managed workloads to the Zarf registry. With the labeled policy, only resources labeled zarf.dev/agent: mutate, or resources in a namespace with that label, are processed; a label on the resource takes precedence over the namespace label. Before deployment, confirm that the namespaces for the selected components have this label. For offline workloads created separately, confirm that the namespace is labeled first. Label changes do not affect existing Pods; recreate the Pods to trigger rewriting.

Use --insecure-skip-tls-verify for the relevant command only when the TLS certificate of the target registry genuinely cannot be verified and the man-in-the-middle risk has been assessed. In production, fix the certificate chain or configure a trusted CA for the Zarf Agent instead of treating skipped TLS verification as a default.

Deploy HAMi Enterprise​

Prepare Custom Values​

Start from the bundled package-values.yaml and place native Chart values under the matching top-level component key. The examples under hami/ use native Chart format. Follow PACKAGE-VALUES.md to map them to component keys. Values passed at deployment override package values, which override Chart defaults. Choose which components to deploy with --components.

ComponentPurposeValues key
hamiCore components with bundled RPM and resource pool CRDs enabled by default (Chart 2.11.0-r2).hami
gpu-operatorOptional NVIDIA Container Toolkit and runtime configuration.gpu-operator
ascend-device-plugin / npu-exporterAscend device registration and monitoring. Select each as needed.ascend-device-plugin / npu-exporter
ppu-device-pluginPPU device plugin and monitoring for amd64.ppu-device-plugin
prometheus-crds / prometheusInstall monitoring CRDs before Prometheus. If reusing an existing installation, check the CRDs and scrape configuration.prometheus

Check that hami.scheduler.kubeScheduler.image matches the target Kubernetes version. If you override it, first make the matching image available in the registry used by Zarf.

When deploying hami on Kubernetes 1.18 through 1.29, set hami.resourcePoolManager.enabled and hami.resourcePoolCRDs.enabled to false.

ParameterDescriptionDefault
hami.scheduler.leaderElectWhether to enable leader election for hami-scheduler across multiple nodes. Strongly recommended to disable for single-node clusters.true
hami.scheduler.replicasAdjust the number of hami-scheduler instances1
hami.scheduler.kubeScheduler.image.registryImage registry for the kube-scheduler image used by hami-schedulerregistry.cn-hangzhou.aliyuncs.com
hami.scheduler.kubeScheduler.image.repositoryImage repository name for the kube-scheduler image used by hami-schedulergoogle_containers/kube-scheduler
hami.scheduler.kubeScheduler.image.tagVersion of the kube-scheduler image used by hami-scheduler; should match the target cluster""

Minimal package-values.yaml example. For a single-node cluster, set hami.scheduler.leaderElect to false:

hami:
scheduler:
leaderElect: false

For non-NVIDIA devices, enable the corresponding vendor under hami.devices. For Ascend, set both switches:

hami:
devices:
ascend:
enabled: true
hamiVnpuCore: true

This bundle includes only kube-scheduler:v1.37.0. By default, HAMi selects a kube-scheduler image tag matching the target Kubernetes version, and the Zarf Agent rewrites image references for Zarf-managed workloads in hami-system to the registry configured during zarf init. Changing only the registry or image tag in values does not add a missing image to the package. If the target Kubernetes version requires another image, contact technical support for a matching delivery package, confirm that the target offline registry can serve it, and override registry, repository, and tag under hami.scheduler.kubeScheduler.image when needed.

Execute Deployment​

Start with the component list below and add the hardware components you need from this guide. With the labeled image rewrite policy, opt the hami-system namespace into rewriting before deployment.

COMPONENTS=hami
kubectl create namespace hami-system --dry-run=client -o yaml | kubectl apply -f -
kubectl label namespace hami-system zarf.dev/agent=mutate --overwrite

Inspect values and deploy​

Inspect the merged values and rendered manifests. Confirm that the namespaces, images, and selected components match your intended deployment before running it.

zarf package inspect values-files "$PACKAGE" --components="$COMPONENTS" --values=package-values.yaml
zarf package inspect manifests "$PACKAGE" --components="$COMPONENTS" --values=package-values.yaml
zarf package deploy "$PACKAGE" --components="$COMPONENTS" --values=package-values.yaml --confirm
zarf package list
kubectl -n hami-system rollout status deployment/hami-scheduler

If a component takes a long time to complete, first identify whether it is importing images, running Helm hooks, or waiting for workload health checks. Diagnose the issue with zarf tools helm, Pod events, and logs. For incorrect values, fix the corresponding configuration in package-values.yaml, inspect it again, and rerun the same deployment command. If the operation exceeds the default 15 minutes, determine the cause before adjusting --timeout.

After an interrupted deployment, resolve the issue and resume with the same zarf package deploy ... --components=... --values=... command. Zarf will skip re-importing images when the digest has not changed; it will perform a Helm upgrade when Helm charts or values have changed.

If the target resources are already managed by another Helm release and you have confirmed that they should be transferred to the current Zarf package, review the resource scope and then use --take-ownership. Use --force-conflicts only for Server-Side Apply field ownership conflicts. It overwrites fields managed by other field managers, so use it only after confirming that this deployment may take over those fields; do not use it as a general retry option.

Optional: NVIDIA GPU Operator​

If GPU nodes already have a compatible driver, NVIDIA Container Toolkit, and container runtime, skip gpu-operator. If you select gpu-operator, keep using the driver already installed on the nodes and leave the Operator's device plugin and CDI disabled so HAMi registers the devices.

For a first deployment, add gpu-operator to COMPONENTS. To add it to a cluster that already runs HAMi, run the following command:

zarf package deploy "$PACKAGE" --components=gpu-operator --values=package-values.yaml --confirm

Enable GPU Nodes​

The HAMi NVIDIA device plugin starts only on nodes labeled gpu=on. Apply this label to each NVIDIA node that HAMi should manage. Ascend components use their own nodeSelector instead of gpu=on.

kubectl label nodes <node-name> gpu=on

Optional: Ascend Components​

Select ascend-device-plugin and npu-exporter as needed on amd64 or arm64. Ascend Device Plugin Chart 0.4.0 uses image v1.5.0 and the hami-scheduler-device ConfigMap in hami-system. NPU Exporter runs in the npu-exporter namespace.

For Ascend devices, enable both settings under hami and match the partitioning mode to the target nodes:

hami:
devices:
ascend:
enabled: true
hamiVnpuCore: true

Prepare the Nodes

NPU Exporter supports ordinary Ascend compute nodes using containerd. Install the driver, firmware, and runtime on each target node first. Atlas 200I SoC A1 core boards require separate upstream manifests and startup scripts and are outside this component's scope.

The default selector reuses the plugin's ascend: "on" node label, so no separate Exporter label is needed. The default containerd directory is /run/containerd. Override the Exporter settings only if the actual node labels or runtime path differ.

The installer creates the Exporter log directory and sets ownership to root:root and mode 0750, so no manual directory setup on each node is needed. Installation uses the standard Zarf and Helm readiness checks. Follow the Ascend verification steps below to check metric collection and monitoring integration.

Configure and Deploy

The default node labels and containerd path need no extra configuration. Keep HAMi settings aligned with the target NPU model and partitioning mode. For a non-default containerd path, configure npu-exporter.hostPaths.containerd with the path used by the target nodes.

To add these components to a cluster where HAMi is already installed, select them as shown below. For a first installation, add them to the component combination for your edition. Also select prometheus-crds,prometheus when using the bundled monitoring stack. Use the main package for the selected version and architecture.

zarf package deploy "$PACKAGE" \
--components=ascend-device-plugin,npu-exporter \
--values=package-values.yaml --confirm

If you do not need overrides, omit --values. If the device plugin is already installed, select only npu-exporter. To use a different image, rebuild the package with that image. An offline deployment cannot pull images that were not packaged.

NPU Exporter Monitoring​

NPU Exporter does not create a ServiceMonitor by default. Enable its built-in ServiceMonitor with the values below. When using the bundled stack, install prometheus-crds,prometheus first. After deployment, confirm the targets and metrics in Prometheus, and make sure only one monitor scrapes each Exporter.

npu-exporter:
serviceMonitor:
enabled: true

Verify Ascend Components​

kubectl -n hami-system get daemonsets
kubectl -n npu-exporter get daemonset npu-exporter
kubectl -n npu-exporter rollout status daemonset/npu-exporter --timeout=180s
kubectl -n npu-exporter get pods -o wide
kubectl -n npu-exporter get endpointslice -l kubernetes.io/service-name=npu-exporter

Check the Exporter DaemonSet's DESIRED and READY counts: both should equal the expected number of Ascend nodes and be greater than zero. Query up{job="npu-exporter",namespace="npu-exporter"} and npu_chip_info_utilization in Prometheus to confirm scraping and metrics for each node. Zero utilization is valid for idle devices. Also verify device-plugin registration and run a workload requesting the expected Ascend resources to confirm allocation and device access.

Ready Exporter Pods alone do not confirm that metrics are being collected. Prometheus configuration updates and the first scrape take some time after a ServiceMonitor is created. If metrics are missing, check the driver and DCMI. For scrape failures, check target discovery, configuration reload, ServiceMonitor labels, duplicate scraping, and network policies.

Maintenance and Non-default Environments

For Exporter troubleshooting, check that the node has a usable containerd.sock in the configured containerd directory. The component mounts the directory instead of an individual socket file.

The NetworkPolicy allows TCP 8082 from Pods labeled app.kubernetes.io/name: prometheus across namespaces and denies outbound traffic by default; enforcement depends on the CNI. For other monitoring labels, override npu-exporter.networkPolicy.prometheusPodSelector. Configure standalone ServiceMonitor selector labels through npu-exporter.serviceMonitor.labels.

The Exporter runs as root in a privileged container and accesses host driver libraries, DCMI libraries, and the runtime socket. A read-only socket mount does not restrict runtime API calls. Keep DCMI libraries and their parent directories owned by root and not writable by group or others. Before upgrading the driver, stop workloads and then stop NPU Exporter.

Default host pathPurposeMount access
/usr/local/Ascend/driverDriver librariesRead-only
/usr/local/dcmiDCMI librariesRead-only
/sysDevice informationRead-only
/run/containerdContainerd and CRI socket accessRead-only directory mount
/etc/localtimeNode timezoneRead-only
/var/log/mindx-dl/npu-exporterExporter logsWritable
test -d /usr/local/Ascend/driver
test -d /usr/local/dcmi
test -S /run/containerd/containerd.sock

Removing the component does not remove host logs. The container root filesystem is read-only, /tmp uses emptyDir, and the ServiceAccount token is not mounted. These settings do not remove the privileged container's host access.

Optional: PPU Components​

Select ppu-device-plugin only with the amd64 delivery. PPU Device Plugin Chart 0.0.5 uses image v1.0.6 and deploys the plugin and monitor in hami-system. If equivalent components are already installed, reuse them instead of deploying duplicates.

Prepare PPU Nodes and Configuration​

Install the PPU driver and runtime appropriate for each node, confirm that the node can access its PPU devices, and then add the node label:

kubectl label nodes <PPU_NODE> alibabappu=on --overwrite

Enable Alibaba PPU in HAMi and keep the plugin and monitoring enabled. Add the following configuration to package-values.yaml:

hami:
devices:
alibaba:
enabled: true
ppu-device-plugin:
nodeSelector:
alibabappu: "on"
plugin:
enabled: true
monitor:
enabled: true
service:
enabled: true

The PPU Chart creates a separate ConfigMap by default. Before deployment, check that the resource names and partitioning configuration in ppu-device-plugin.config.data.alibaba match the HAMi scheduler configuration. Do not copy the Ascend ConfigMap configuration directly to PPU. The default resource names include alibaba.com/ppu, alibaba.com/ppu-memory, and alibaba.com/gpu-core. RPM does not support PPU in this version.

Deploy PPU Components​

For a first installation, enable PPU in package-values.yaml and add ppu-device-plugin to the deployment component list. If HAMi already runs with Alibaba PPU enabled, deploy the plugin on its own:

zarf package deploy "$PACKAGE" --components=ppu-device-plugin --values=package-values.yaml --confirm

Integrate PPU Monitoring​

By default, PPU monitor provides the hami-system/ppu-device-plugin-monitor Service with the labels app=ppu-vgpu-monitor and component=vgpu-monitor. Its metrics port is 31992, which maps to container port 9394. The PPU Chart does not provide a ServiceMonitor switch. To collect metrics, create a matching ServiceMonitor for your existing Prometheus instance. The following example uses release: prometheus, the default label for the Prometheus included in this package. For other monitoring systems, adjust the label to match their selectors.

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: ppu-vgpu-monitor
namespace: hami-system
labels:
release: prometheus
spec:
jobLabel: app
namespaceSelector:
matchNames:
- hami-system
selector:
matchLabels:
app: ppu-vgpu-monitor
component: vgpu-monitor
endpoints:
- port: metrics
path: /metrics
interval: 15s

Save the example above as ppu-servicemonitor.yaml. Once the Prometheus CRDs are present and the monitoring system can discover ServiceMonitors in hami-system, run kubectl apply -f ppu-servicemonitor.yaml. For VictoriaMetrics, configure a corresponding VMServiceScrape or confirm that the Operator has converted the ServiceMonitor to a VMServiceScrape. Avoid scraping the same Service twice. To install Prometheus from this package, also select prometheus-crds,prometheus.

Verify PPU Components​

kubectl get nodes -l alibabappu=on
kubectl -n hami-system get daemonsets ppu-device-plugin ppu-device-plugin-monitor
kubectl -n hami-system rollout status daemonset/ppu-device-plugin --timeout=180s
kubectl -n hami-system rollout status daemonset/ppu-device-plugin-monitor --timeout=180s
kubectl -n hami-system get pods -o wide
kubectl -n hami-system get endpointslice -l kubernetes.io/service-name=ppu-device-plugin-monitor
kubectl describe node <PPU_NODE>

The DESIRED and READY counts for both DaemonSets should equal the expected number of PPU nodes and be greater than zero. Confirm that the nodes have registered PPU resources, then run a workload that requests PPU resources to verify allocation and device access.

In Prometheus, query up{job="ppu-vgpu-monitor",namespace="hami-system"} and confirm that the scrape target returns 1. Query hami_host_gpu_utilization_ratio{job="ppu-vgpu-monitor"} and hami_host_gpu_memory_used_bytes{job="ppu-vgpu-monitor"} to confirm that metrics from real devices are present. Utilization can be zero when devices are idle. Ready Pods alone do not confirm that metrics collection is working.

If raw metrics are missing, check the node drivers and the plugin and monitor logs. If scraping fails, check the Service labels, ports, EndpointSlices, ServiceMonitor selectors, and network policies. Perform workload acceptance checks after activating the license.

Resource Pool Management (RPM)​

On Kubernetes 1.30 or later, the default hami configuration installs bundled RPM and its resource pool CRDs. Use one RPM admission webhook per cluster. With bundled RPM, omit the standalone rpm component and keep the AI Platform RPM subchart disabled.

Set device switches under hami.resourcePoolManager.devices to match hami.devices. RPM logs admission decisions in dry-run mode by default. Check the license Secret and resource pool bindings for the target namespace before disabling dry-run mode as described in PACKAGE-VALUES.md.

kubectl -n hami-system get configmap hami-hami-resource-pool-manager-config
kubectl api-resources --api-group=resource.hami.io

Check resource pools, bindings, and admission results for actual workloads. For a cluster with standalone RPM or resource pool CRDs, review ownership using the migration guide before deploying.

Optional: Monitoring Integration​

Monitoring is optional. If the cluster already has compatible Prometheus or VictoriaMetrics monitoring, connect it using the selectors below. To install the bundled kube-prometheus-stack, select both monitoring components:

zarf package deploy "$PACKAGE" \
--components=prometheus-crds,prometheus \
--values=package-values.yaml \
--confirm
kubectl describe node <node-name>
kubectl api-resources --api-group=monitoring.coreos.com

For Prometheus, match ServiceMonitor.metadata.labels to Prometheus.spec.serviceMonitorSelector and check the namespace selector. For VictoriaMetrics Operator, VMAgent.spec.serviceScrapeSelector selects VMServiceScrape.metadata.labels; also check serviceScrapeNamespaceSelector and any ServiceMonitor conversion.

Confirm that your monitoring system collects the metrics for the selected hardware from HAMi, DCGM Exporter, NPU Exporter, or PPU monitor. The package sets hami.legacyMetrics=false. First verify that the relevant scrape targets report up=1, then query the applicable current metrics. For NVIDIA, the following metrics should return data:

  • DCGM_FI_DEV_GPU_UTIL

  • hami_host_gpu_utilization_ratio

  • hami_gpu_core_allocated_ratio

Offline license collection: After deploying HAMi and the device plugins, follow the license collection instructions below. The extracted delivery archive already includes collect-hami-license-info.sh (downloading the script requires internet access). Confirm that the administration host has kubectl and jq. You can install jq through the tools component. Without jq, the script cannot collect the information needed to issue a license. Activate the license before validating workloads that require it.

Request a License​

Once the HAMi core components are ready, confirm that the device plugins or vendor components have reported all devices that require a license to the cluster before collecting license request information.

On the administration machine, ensure that kubectl and jq are available, the current kubecontext points to the target cluster, and you have permission to read the kube-system namespace and all Nodes.

Obtain collect-hami-license-info.sh from the offline delivery package, or download the script on a machine with internet access and transfer it to the target environment. Run the following command from the directory containing the script to generate the license request file.

bash collect-hami-license-info.sh > hami-license-info.json

The following example shows a generated hami-license-info.json file containing one NVIDIA A10 and two MLU cards.

{
"esn": "96565d61-986a-4918-aafb-448ff6e3746b",
"deviceInstances": [
{
"uuid": "GPU-ceee905d-48ac-93de-a81b-17c00e1e5e02",
"deviceType": "NVIDIA A10"
}
],
"deviceModels": [
{
"deviceType": "MLU",
"count": 2
}
]
}
  • esn is the UID of the kube-system namespace and identifies the target cluster.

  • deviceInstances lists devices licensed by instance. Each entry contains the device UUID and model.

  • deviceModels lists devices that support only model-based licensing. count is the number of physical cards of that model across all nodes.

For clusters with only instance-licensed devices, deviceModels is empty. For clusters with only model-licensed devices, deviceInstances is empty. At least one device list must be nonempty in the license request.

Check the UUIDs, models, and card counts against the devices that require a license. Keep the deviceType values produced by the script. If devices are missing, check the reporting status of the device plugins or vendor components, along with node annotations and Capacity, then collect the information again.

The script uses the HAMi Chart resource names by default. If you have changed mluResourceCores or kunlunResourceName, set HAMI_MLU_CORE_RESOURCE or HAMI_KUNLUN_COUNT_RESOURCE, respectively, to the corresponding resource name before running the script.

Send the checked hami-license-info.json file to Dynamia presales or technical support to request a license.

Post-Activation Verification​

kubectl -n hami-system get pods
kubectl describe node <gpu-node>
kubectl get events --field-selector involvedObject.name=hami-license -n hami-system
kubectl get nodes -o custom-columns='NODE:.metadata.name,LICENSE:.metadata.annotations.hami\.io/nvidia-license'

A LicenseValid event indicates that license validation succeeded. Confirm that the selected component Pods are Running or Completed and that accelerator resources are registered on the managed nodes.

Verify Workloads​

After enabling the intended nodes and activating the license, run a test workload using an image imported into the Zarf registry or another internal registry the cluster can reach. Request the resource for the device under test. With the labeled rewrite policy, first check the workload namespace's mutation label.

kubectl -n <namespace> get pod <pod-name> -o wide
kubectl -n <namespace> describe pod <pod-name>
kubectl describe node <node-name>

Confirm the Pod lands on the intended node, review its events for allocation or pull failures, and check device access from the container using a device utility or application logs.

Troubleshooting​

For deployment failures, inspect Pods, events, and Zarf package status. Use zarf tools helm to inspect Helm releases. Diagnostic files may contain cluster configuration and logs; review them for sensitive information before sharing and do not include Secrets.

kubectl get pods -A | grep -E 'hami|gpu-operator|device-plugin|npu-exporter|prometheus|kantaloupe'
kubectl get events -A --sort-by=.lastTimestamp | tail -50
zarf package list

Run collect-cluster-info.sh from the extracted directory to collect Kubernetes and device inventory. If jq is unavailable, install it with tools. When using sudo, explicitly pass the target kubeconfig so the tools select the intended cluster.

KUBECONFIG_PATH="${KUBECONFIG:-$HOME/.kube/config}"
ROOT_PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
sudo env PATH="$ROOT_PATH" sh -c 'command -v kubectl >/dev/null'
sudo env KUBECONFIG="$KUBECONFIG_PATH" PATH="$ROOT_PATH" zarf package deploy "$PACKAGE" --components=tools --confirm
sudo env KUBECONFIG="$KUBECONFIG_PATH" PATH="$ROOT_PATH" "$PWD/collect-cluster-info.sh" > cluster-info.json
sudo /usr/local/bin/jq empty cluster-info.json

Common Issues​

SymptomCheck
Image pull failsCheck Pod events, registry access, and whether the image is in the package for this architecture. With the labeled policy, verify zarf.dev/agent: mutate. Recreate affected Pods after applying the label.
NVIDIA plugin is missing or restartingCheck the gpu=on node label, driver, and runtime. Confirm the GPU Operator device plugin and CDI are disabled.
Persistent volume does not bindCheck PVC events and the StorageClass. Confirm that storage can be provisioned before initializing Zarf or enabling Metering.
Deployment times outUse Pod events, container logs, and zarf tools helm list -A to identify image import, Helm hook, or workload readiness issues.

Limitations of Installing Components with Zarf​

Control the Image Rewrite Scope Explicitly with Labels​

We recommend initializing Zarf with zarf init --agent-mutation-policy=labeled. This policy rewrites only resources labeled zarf.dev/agent: mutate, or resources in a namespace with that label. An individual workload that must retain its original image reference can be labeled zarf.dev/agent: ignore, and a resource label takes precedence over the namespace label. This allows image rewriting to be controlled per resource, even within the same cluster or namespace, without having the Agent manage every application namespace by default. Only images included in the Zarf package can be rewritten and pulled in an offline environment. After changing labels, recreate existing Pods because they are not updated automatically.

Manage Each Set of Resources Through a Single Delivery Pipeline​

Zarf manages the chart releases in a package through Helm. Managing the same Kubernetes resources in parallel through another native Helm workflow can still cause release ownership, field ownership, and upgrade ordering conflicts. Continue routine upgrades with a newer Zarf package. If existing resources must be transferred to Zarf, review the release and resource scope before using --take-ownership. Use --force-conflicts only for Server-Side Apply field conflicts that you have confirmed may be overwritten; it should not be used as a routine installation option.

Support​

  • Email: info@dynamia.ai

  • Sales / technical support: 400-026-7800

  • Customers with active commercial agreements should submit support requests through their dedicated support channel.