github NVIDIA/NVSentinel v1.34.0
Release v1.34.0

3 hours ago

Release v1.34.0

This release moves the NVIDIA discovery of metadata-collector and the labeler into their own workloads, makes partial drains configurable for any device type, and adds an opt-in check that reboots nodes before a known uptime-limited GPU defect occurs. It also makes janitor refuse maintenance on a node that is back in service, applies global.seLinuxOptions to more components, and fixes custom drains that left the node at draining.

Note

DCGM 3.x support in GPU Health Monitor is deprecated. It will be removed on 30 November 2026. DCGM 3.x is end-of-life and gets no more patches. After the removal, NVSentinel does not detect faults on nodes that run DCGM 3.x. To find these nodes, run kubectl get nodes -l nvsentinel.dgxc.nvidia.com/dcgm.version=3.x. Upgrade DCGM on these nodes to 4.x before you upgrade to the release that removes DCGM 3.x support. For the steps in each global.dcgm.mode, see GPU Health Monitor: DCGM 3.x Support Removal. To give feedback, comment on #2102.

Upgrade Notes

Upgrade with --reset-then-reuse-values (#2477, #2541)

This release adds the global.partialRemediationEntityTypes Helm value. helm upgrade --reuse-values keeps the values of the previous chart, which has no such key, so the upgrade fails with global.partialRemediationEntityTypes is missing. Upgrade with --reset-then-reuse-values (Helm 3.14 or later), as the Helm Chart section below shows. It keeps your own values and applies the defaults of this chart.

If you upgraded earlier releases with --reuse-values, this upgrade also applies the default changes that those upgrades did not apply. For example, the fault-quarantine rule set from v1.31.0 then quarantines nodes for fatal health-events-analyzer derived events. Read the Upgrade Notes of each release since your last upgrade with --reset-then-reuse-values.

Partial drains need a device-scoped repair (#2477, #2417)

A partial drain evicts only the pods that use the failed device, so a repair of the full node stops the pods that the drain left running. If fault-remediation and node-drainer are enabled and partial drains are on (node-drainer.partialDrainEnabled or global.partialDrainEnabled), the chart now checks each action in the scopedActions of global.partialRemediationEntityTypes. The action must map in fault-remediation.maintenance.actions to a maintenance CR with an impactedEntityScope of the same entity type. Otherwise the chart refuses the install or upgrade.

The default scopedActions of GPU_UUID is COMPONENT_RESET, and the chart maps COMPONENT_RESET to a RebootNode with no impactedEntityScope. If you run partial drains, map COMPONENT_RESET to a GPUReset with impactedEntityScope: "GPU_UUID" in the Helm values of the upgrade, as distros/kubernetes/nvsentinel/values-remediation.yaml does.

metadata-collector and the labeler run new workloads (#2543, #2566, #2556, #2555, #2497)

  • Workloads: the metadata-collector DaemonSet becomes two DaemonSets. nvidia-metadata-collector runs the NVIDIA discovery, and pod-device-mapper writes the dgxc.nvidia.com/devices pod annotation. The upgrade deletes the metadata-collector DaemonSet, so the old mappers stop on all nodes at the same time. Until the new pod-device-mapper pod of a node is ready, a partial drain on that node waits. The new nvidia-labeler Deployment writes the nvsentinel.dgxc.nvidia.com/dcgm.version and nvsentinel.dgxc.nvidia.com/driver.installed labels and the nvsentinel.dgxc.nvidia.com/dcgm-bootstrap-completed annotation. The labeler Deployment keeps kata.enabled and the device counts.
  • Images: if you use a private registry, mirror the new images before you upgrade: ghcr.io/nvidia/nvsentinel/pod-device-mapper, ghcr.io/nvidia/nvsentinel/nvidia-labeler, and public.ecr.aws/docker/library/alpine:3.24.4, the new default of global.initContainerImage.
  • Metrics: the mapper metrics now come from the pod-device-mapper pods on global.metricsPort, not from the metadata-collector pods on the host network. The port of the NVIDIA discovery metrics, metadata-collector.metrics.port, changes from 2112 to 2113, so it no longer collides with gpu-health-monitor in external-hostengine mode. labeler_events_processed_total and labeler_event_handling_duration_seconds now come only from nvidia-labeler. Update static scrape targets, and queries that filter on the metadata-collector or labeler pod names.
  • Settings: metadata-collector.podMapper.enabled is now read as a string, so a quoted "false" turns the mapper off. The chart refuses labeler.nvidiaLabeler.enabled: false while gpu-health-monitor, syslog-health-monitor, nic-health-monitor or metadata-collector is enabled, because their pods select nodes by the labels that nvidia-labeler writes.

This upgrade rolls the Percona replica set (#2489, #2488)

On the Percona backend, mongod requires a client certificate, and the mongodb-exporter sidecar had none, so it always reported mongodb_up 0. The chart now mounts the ssl Secret that the Percona operator manages into the sidecar, and adds the certificate to the connection string of the sidecar. This changes the pod template of the rs0 replica set. With the default SmartUpdate strategy, this upgrade rolls your replica set: the Percona operator restarts the secondaries first and then steps down the primary. If you set your own mongodb-store.psmdb-db.replsets.rs0.sidecars, add the mount and the certificate options yourself.

janitor refuses maintenance on a node in service (#2484, #2480)

A maintenance CR outlives the quarantine of its node. For example, a RebootNode that waited in manual mode ran when manual mode was turned off, on a node that ran workloads again. Before janitor sends a reboot or terminate signal, or starts a GPU reset, it now checks that the node is cordoned or quarantined. If the node is neither, janitor ends the request with the reason NodeInService. If you create maintenance CRs for nodes that stay schedulable, set janitor.config.requireNodeOutOfService: false.

Major New Features

Partial Drains for Any Device Type (#2477, #2541, #2417)

The new global.partialRemediationEntityTypes Helm value lists the entity types that get partial drains. For each type, it lists the devices and the scopedActions, built-in or custom, that repair one device. A device is a set of device-plugin resource names, or a DRA driver with its DeviceClasses and the ResourceSlice attribute that holds the entity value. The default is a GPU_UUID entry with COMPONENT_RESET. node-drainer, fault-remediation and the pod device mapper read the same value. The pod device mapper records the devices of each listed type, and finds the entity value of a DRA device in the ResourceSlices of its node. If fault-remediation gets an action that does not act on the drained device, it creates no maintenance CR, counts drain_scope_mismatch in fault_remediation_processing_errors_total, and retries the health event. With the default configuration, two behaviours change:

  • A pod that requests a GPU, but whose dgxc.nvidia.com/devices annotation has no entry for it, now makes the partial drain wait and retry. Before, the drain continued and did not evict the pod.
  • A COMPONENT_RESET health event with no GPU_UUID entity is now retried. Before, the node got drain-failed.

NVIDIA Discovery in Its Own Workloads (#2543, #2566, #2419)

The NVIDIA discovery now runs apart from the components that do not depend on a vendor:

  • pod-device-mapper (#2543): the pod device mapper runs in its own DaemonSet, on the pod network, unprivileged, with a read-only file system. It does not wait for the NVIDIA discovery, so new pods on a node with a failed GPU still get their annotation. It runs on the nodes that metadata-collector.podMapper.nodeSelector selects, by default nvidia.com/gpu.present=true. The new podMapper.image and podMapper.resources values configure its pods.
  • nvidia-labeler (#2566): the new nvidia-labeler Deployment writes the NVIDIA labels, and watches the DCGM, driver and GKE driver installer pods. It skips events until all its caches sync, so a restart does not remove driver.installed while a cache fills. The labeler no longer watches pods, and its ClusterRole has no pod permissions.

See the Upgrade Notes for the names, images and metrics.

Uptime Limit for Known GPU Defects (#2503, #2496)

Some GPU firmware defects fail at a fixed node uptime. For example, a vBIOS defect makes NVLink communication fail after more than 60 days of uptime. The new opt-in GpuUptimeLimitWatch check of gpu-health-monitor fails a GPU that runs a listed vBIOS version on a node whose uptime is more than maxUptimeHours. The health event has the error code GPU_UPTIME_LIMIT_EXCEEDED, which maps to RESTART_BM, so NVSentinel quarantines, drains and reboots the node. Nodes that started at the same time reach the limit together and can trip the circuit breaker, so set staggerHours to spread their reboots. The check is off by default, and storeOnly is true when you enable it. Before you disable the check, reboot the nodes that have an active GpuUptimeLimitWatch fault, because they otherwise stay quarantined.

gpu-health-monitor:
  uptimeLimit:
    enabled: true
    storeOnly: true
    affectedVbiosVersions:
      - "97.00.82.00.4B"
    maxUptimeHours: 1440
    staggerHours: 72

NVSwitch Health Events Can Drive Remediation (#2526, #2043)

gpu-health-monitor sends every NVSwitch health event with the STORE_ONLY processing strategy. Set the new gpu-health-monitor.dcgm.nvswitchStoreOnly value to false to send NVSwitch health events with the same strategy as the GPU health events of the same check. The default is true.

Namespace of the Built-in GPU Services Manager (#2483, #2479)

The new janitor.config.controllers.gpuReset.serviceManager.namespace value sets the namespace of a built-in GPU services manager, for example a GPU Operator in nvidia-gpu-operator. If the value is empty, janitor uses gpu-operator. With a wrong namespace, janitor found no operand pods, skipped the teardown, and reset the GPU while DCGM and the device plugin held it. If no operand pod of the manager runs in its namespace on any node, a GPUReset now waits, and fails with ServiceManagerNotFound after the GPUReset timeout.

Bug Fixes & Reliability

  • GPUReset honors manual mode (#2482, #2478): the GPUReset controller ignored manualMode. A GPUReset now waits with a ManualMode condition (reason OutsideActorRequired) before it stops any service, and continues when manual mode is turned off.
  • The generic reboot stops at the attempt deadline (#2517, #2516): a generic reboot Job that was still pending when janitor marked its RebootNode as timed out ran later and rebooted the node. janitor now sends an absolute deadline with the reboot request. janitor-provider refuses an expired request, sets activeDeadlineSeconds on the Job, and the container checks the deadline before it reboots the node.
  • Custom drains move the node to drain-succeeded (#2561, #2539, #2574, #2540): when a custom drain completed, node-drainer left the node state label at draining, so fault-remediation failed its first attempt on draining -> remediating. node-drainer now moves the label to drain-succeeded when a custom drain completes, and for a health event with drainOverrides.skip. For a health event whose producer sets its id, such as a lifecycle-manager maintenance request, node-drainer looked up the custom drain CR by that ID but created the CR by the record ID, so the health event did not find its own CR. node-drainer now uses the record ID for every health event, and a custom drain template that renders .HealthEvent.Id gets the record ID.
  • lifecycle-manager keeps passed test results (#2439, #2428): lifecycle-manager deleted a completed provider object before it saved the attempt status. When the status update conflicted, the result was lost, the next reconcile read the missing object as a failed test, and it started a retry. lifecycle-manager now saves the result first.
  • global.seLinuxOptions on more components (#2563, #2562, #2565, #2564, #2576, #2575): on SELinux-enforcing nodes, these pods did not have access to the platform-connectors socket or their host paths. The value now also applies to gpu-health-monitor, pod-device-mapper, and the Deployments that use the socket: csp-health-monitor, health-events-analyzer, kubernetes-object-monitor, lifecycle-manager, nvcre-certification-monitor and slurm-drain-monitor. With global.auditLogging.enabled, it also applies to the modules that prepare /var/log/nvsentinel.
  • janitor-provider metrics (#2514, #2513): the janitor-provider NetworkPolicy allowed only the gRPC port, so the PodMonitor of the chart never scraped its metrics. A second NetworkPolicy now allows the metrics port.
  • slinky-drainer permissions (#2511, #2485): slinky-drainer had permission to delete pods in every namespace. Its pod permissions are now a Role in the Slinky namespace. Create the Slinky namespace first, and apply the kustomization with kustomize v5.7.0 or later, which kubectl v1.34 and later include.
  • The node condition cleanup hook reports failures (#2467, #2460): the node-condition-cleanup hook exited with 0 when a node patch failed, so the Helm post-upgrade or Argo CD PostSync hook reported success, and the Job did not retry. It now exits with 1 and reports how many nodes failed.
  • Circuit breaker messages (#2538, #2524): when the circuit breaker parks fault-quarantine, the log line now says to set the circuit-breaker ConfigMap to CLOSED and then restart, because a restart alone does not resume processing.
  • syslog-health-monitor state volume (#2570, #2542): the chart mounted a /var/run/syslog_health_monitor host path that the monitor did not use, and the empty directory suggested that no boot ID was saved. The chart no longer mounts it. The state file is at /var/run/nvsentinel/syslog_monitor on the host.
  • Percona exporter metrics (#2489, #2488): see the Upgrade Notes.
  • metadata-collector metrics port (#2556, #2555): see the Upgrade Notes.
  • janitor refuses maintenance on a node in service (#2484, #2480): see the Upgrade Notes.

Security & Infrastructure

  • Maintained init container image (#2497, #2475): the default global.initContainerImage moves from docker.io/bitnamilegacy/os-shell, a frozen archive with a CA bundle from September 2024, to public.ecr.aws/docker/library/alpine:3.24.4.

Chores

  • Two fewer dependencies (#2459, #2458): the core modules use errors.Join in place of go-multierror and errwrap. Joined error messages no longer start with N errors occurred:.
  • golangci-lint installer (#2579, #2577): make install-golangci-lint uses the installer that golangci-lint supports, and no longer reinstalls on every run.
  • Circuit breaker E2E test (#2569, #2580, #2356): before it resets the circuit breaker with cursor=CREATE, the test now waits until its held health event is stored. The health event has a message that is unique for each run.

Acknowledgments

This release includes contributions from:

Thank you to everyone who contributed code, testing, documentation, design reviews, and feedback! Special thanks to first-time contributors @fimkap, @gusraggio, @skandtandon, and @VfourTwenty.

Container Images

See versions.txt for the full list of container images and versions.

Helm Chart

Install with:

helm install nvsentinel oci://ghcr.io/nvidia/nvsentinel \
  --version v1.34.0 \
  --namespace nvsentinel \
  --create-namespace

To upgrade from v1.33.0 — review the Upgrade Notes above first. This release needs --reset-then-reuse-values (Helm 3.14 or later):

helm upgrade nvsentinel oci://ghcr.io/nvidia/nvsentinel \
  --version v1.34.0 \
  --namespace nvsentinel \
  --reset-then-reuse-values

Don't miss a new NVSentinel release

NewReleases is sending notifications on new releases.