Skip to content

Release v1.27.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 11:12
· 290 commits to main since this release
v1.27.0
3b46832

Release v1.27.0

This release adds GPU Operator GPUCluster (DRA) mode support to janitor GPU reset, lifecycle-manager, node-drainer, and preflight. It also adds operator recovery for health-events-analyzer conditions, poll-stall detection for the NIC health monitor, and a percentage form of the standing cordon bound. Several defaults and behaviours change on upgrade — please read the Upgrade Notes below.

Upgrade Notes

GpuThermalMarginWatch requires three consecutive polls (#1982, #1980)

GpuThermalMarginWatch now fails a GPU only when the thermal margin stays below the slowdown threshold for gpu-health-monitor.dcgmFieldsMonitoring.gpuTempLimitMinConsecutivePolls consecutive polls. The default is 3, which is 45 seconds at the default 15-second poll interval. A sample at or above the threshold resets the count. The check reads one sample per poll, and on GB200 under load the margin moves by tens of degrees within seconds. A single sample past the threshold is therefore usually a transient that the GPU's own hardware slowdown already handled. To restore the previous single-sample behaviour, set the value to 1.

NVLink BER error codes are suppressed by default (#1994, #1944)

DCGM 4.7.0 removed the NVLink BER health and diagnostic checks because they failed healthy GPUs. Older DCGM hostengines still report DCGM_FR_NVLINK_EFFECTIVE_BER_THRESHOLD and DCGM_FR_NVLINK_SYMBOL_BER_THRESHOLD. Both map to CONTACT_SUPPORT, so the default quarantine rules cordon the node. Both codes are now in the default gpu-health-monitor.dcgmHealthCheck.suppressedErrorCodes list. On DCGM 4.7.0 and later, this has no effect.

The new default does not reach every installation. helm upgrade --reuse-values keeps the list from your previous release, and a custom suppressedErrorCodes list replaces the default list. In both cases, add the two codes to your list.

Post-remediation validation (#1962, #1960)

These changes apply only when post-remediation validation is enabled (fault-quarantine.validation.enabled).

Quarantine taints stay on the node during validation. Fault-quarantine kept the cordon when it handed a node to validation, but it removed its quarantine taints, so a node with taint-only rule-sets accepted workloads while validation ran. It now keeps the taints too. After validation passes, lifecycle-manager lifts a taint only if lifecycle-manager.config.schedulingGate.taints lists it with remove: true. Any other taint stays on the node, and test pods do not tolerate it unless it is a NoExecute taint. Add every taint that your fault-quarantine rule-sets apply to that list, as described in Validation configuration. With the default rule-sets, this affects the certification-failure taint nvsentinel.dgxc.nvidia.com/nvcre-cert-failed. lifecycle-manager matches taints on key, value, and effect, so with remove: true it also lifts a matching taint that was on the node before the quarantine.

Partial drain must be configured for both components. Fault-quarantine now reads its own partial-drain setting, fault-quarantine.validation.partialDrainEnabled, which defaults to false. If you set node-drainer.partialDrainEnabled: true, fault-quarantine can count a partial drain as a full drain and start validation before the node is fully drained. Set global.partialDrainEnabled: true instead. It sets both components.

Janitor GPU reset with global.gpuDraEnabled (#1989, #1859)

GPUCluster (DRA) mode has no nvidia RuntimeClass, so a GPU reset Job that names one fails admission. When global.gpuDraEnabled is true, the janitor chart now refuses to render if janitor.config.controllers.gpuReset.resetJob.runtimeClassName is set. Its default is "nvidia". If you enable janitor and set global.gpuDraEnabled: true, set the following before you upgrade, or helm upgrade fails:

janitor:
  config:
    controllers:
      gpuReset:
        resetJob:
          runtimeClassName: ""

Deployment platform connector: idempotency key order and datastore pool (#1999, #1995)

These changes apply only when the deployment platform connector is enabled (platformConnector.deployment.enabled).

Publishers now mint the batch idempotency key as a time-ordered UUIDv7, and the connector stores it first in the key. Later keys sort later, so MongoDB appends to the unique index instead of writing across it. With the WiredTiger cache limited to 3.5 GB, reads on this index fell from 0.801 to 0.008 pages per insert. During a rolling upgrade, a batch that is retried across an old and a new connector replica gets its key in two different orders, so that one retry can be stored twice. Existing documents keep their old keys, and the unique index still applies to them.

The default platformConnector.deployment.datastore.maxPoolSize is now 30, up from 10. Each write holds a pooled connection until a majority of the replica set acknowledges it, so the pool size limits the connector's ingest rate. helm upgrade --reuse-values keeps your previous value; set the value to 30 to use the new default. On PostgreSQL, three replicas at 30 can open up to 90 connections, which is close to PostgreSQL's common default max_connections of 100.

Major New Features

GPU Operator GPUCluster (DRA) Mode Support (#1989, #1976, #1945, #1946)

This release adds GPU Operator GPUCluster (DRA) mode support to janitor GPU reset, lifecycle-manager, node-drainer, and preflight:

  • Janitor GPU reset (#1989, #1859): before a reset, janitor stops the GPU Operator operands that hold device handles by setting their nvidia.com/gpu.deploy.* node labels to false. The operand list matched ClusterPolicy mode only. In GPUCluster mode, DCGM and its exporter run as nvidia-dcgm-dra and nvidia-dcgm-exporter-dra, with no device plugin or GFD, so janitor changed labels that nothing read and DCGM kept its handles. Janitor now stops only the operands that have a pod on the node, and records their labels in the new status.managedServices.nodeLabels field for restore and for the deletion finalizer. The deletion finalizer also no longer treats the pass that only initialises the restore status as a completed restore. See the Upgrade Notes for the reset Job's RuntimeClass.
  • lifecycle-manager (#1976, #1899): the default gpu-allocatable readiness criterion read only the nvidia.com/gpu allocatable that the device plugin sets, which stays 0 in GPUCluster mode. Every ValidationRequest stayed Pending, and new-node validation never started. CEL criteria can now read the node's ResourceSlices as resourceSlices, and the default criterion also accepts a gpu.nvidia.com ResourceSlice with devices. lifecycle-manager also watches ResourceSlices, so a slice published after the last node update still wakes a pending request.
  • node-drainer (#1945, #1943): node-drainer counted a pod as a GPU workload only when a container set nvidia.com/gpu or nvidia.com/pgpu limits. A DRA pod without the dgxc.nvidia.com/devices annotation, for example while metadata-collector was down, was skipped by a partial drain that then reported success while the workload stayed on the faulty GPU, and a drainGPUPods drain did not evict it. For such a pod, node-drainer now reads the referenced ResourceClaim or ResourceClaimTemplate and checks for a GPU device class. The lookup runs only for unannotated pods with resource claims, and the node-drainer ClusterRole gains get on resourceclaims and resourceclaimtemplates.
  • Preflight (#1946, #1867): the preflight webhook found GPU pods only from nvidia.com/gpu, so pods that get GPUs only through DRA claims started with no preflight checks. The webhook now detects DRA GPU pods with no configuration, and reads claims only for pods with spec.resourceClaims. It copies all of the pod's claims into the preflight init containers, so the checks run on the same devices as the workload.

Operator Recovery for Health-Events-Analyzer Conditions (#1706, #1553)

An operator can now clear a health-events-analyzer condition after a verified repair, for configured rules. The operator annotates the node with the verification time and, optionally, an entity selector. The analyzer then publishes a matching healthy derived event through the normal ingestion path. A persisted verification boundary stops old history from recreating the condition after recovery or after an analyzer restart. The analyzer rechecks the annotations once a minute and reports results as node events. It gains read-only node access and permission to create events in the default namespace. The feature is opt-in and supports MongoDB only. See Health-events-analyzer recovery.

NIC Health Monitor Poll-Stall Detection (#1985, #1983, #1979)

When the host stalled nic-health-monitor's sysfs reads, the polling loop froze and liveness restarted the container repeatedly, while nothing reported that NIC state could not be observed. Two changes make a stall visible:

  • nic_health_monitor_poll_cycle_last_completed_timestamp_seconds records when each poll category (state or counter) last completed. Use time() - nic_health_monitor_poll_cycle_last_completed_timestamp_seconds to see how long a category has gone without a completed poll (#1983).
  • When a poll stays in flight past pollStallDeadline (default 10s), the monitor publishes a non-fatal NICPollStallCheck event with recommended action NONE, well before liveness restarts the pod. It publishes the healthy event when no poll is stalled (#1985).

Percentage Form of the Standing Cordon Bound (#1981, #1977)

circuitBreaker.maxCordonedPercentage adds a percentage form of the standing bound that v1.26.0 introduced. It limits NVSentinel's own cordons as a share of the GPU-labelled fleet. An absolute maxCordonedNodes value changes meaning when the fleet is resized: on a 12-node rack, maxCordonedNodes: 3 means a quarter of the rack, and at 16 nodes it becomes 19% without any warning. When both bounds are set, the lower one applies. The bound limits NVSentinel's own actions only; it does not limit total out-of-service capacity. It is off by default (0).

Metrics

  • dcgm_health_active_events gains is_fatal and processing_strategy labels (#1994, #1990): on DCGM 4.7, DCGM_FR_NVLINK_ERROR_CRITICAL is raised from the since-boot link-recovery counter and stays active until the node reboots. The code maps to NONE, so no node is cordoned, but the gauge showed a standing NVLink error that alerts could not tell apart from fatal events. is_fatal is "true" or "false", by the same rule as the event's isFatal. processing_strategy is the strategy that gpu-health-monitor sends, such as EXECUTE_REMEDIATION or STORE_ONLY. Alerts can use dcgm_health_active_events{is_fatal="true"} to skip informational events. Both labels show what gpu-health-monitor sends; platform-connectors can still change the strategy, for example on a node with nvsentinel.dgxc.nvidia.com/managed=false.

Bug Fixes & Reliability

  • Dry run no longer trips the circuit breaker (#1973, #1971): dry run skipped the node writes but counted everything else as if the cordon happened. The circuit breaker could trip, and persist the trip, on cordons that never happened, and a restart reported each dry-run quarantine as a manual uncordon or untaint. Dry-run quarantines now carry a quarantineHealthEventDryRun annotation, the circuit breaker is not active in dry run, and marked nodes are not reported as manual uncordons.
  • A MaintenanceRequest no longer blocks the janitor action it triggers (#1972, #1939): a MaintenanceRequest held the shared janitor node lock for its whole lifetime, which blocked the janitor action that the request triggered. It now claims the node with a dedicated mr-claim.<node-name> Lease, and holds the janitor lock only while it publishes the opening health event. A second MaintenanceRequest for the same node is rejected. MaintenanceRequests created before this release are still handled.
  • Removing the skip label takes effect on the next event (#1970): the metadata augmentor cached each node's skip label (nvsentinel.dgxc.nvidia.com/managed=false) until the cache entry expired, after 60 seconds on the DaemonSet and 10 minutes on the deployment platform connector. After the label was removed, the node's faults were still stored as STORE_ONLY, so nothing cordoned or remediated the node. The connector now reads the node again for each event while its cached entry says the node is opted out. If that read fails, the opt-out stays, so an API server problem cannot hand an opted-out node back to remediation.
  • Post-remediation validation runs after a full drain of a COMPONENT_RESET event (#1960): fault-quarantine treated the completed drain of every COMPONENT_RESET event as a partial drain, even when partial drain was disabled and every pod was evicted. Validation never ran for these sessions, and the node returned to service without its configured tests. The new fault-quarantine.validation.partialDrainEnabled setting (default false) tells fault-quarantine whether node-drainer drains partially, and the new global.partialDrainEnabled sets both components. The default validation rule-set does not match COMPONENT_RESET events, so this affects custom rule-sets that do. See the Upgrade Notes if you enabled partial drain.
  • Validation Jobs tolerate every NoExecute taint (#2009, #1975): post-remediation validation failed on nodes with a NoExecute taint applied outside NVSentinel, for example during node bring-up. The default validation Job template now tolerates every NoExecute taint.

Performance

  • Fault-quarantine counts GPU nodes from informer events (#2002, #2001): the circuit breaker counted GPU nodes on every health event by listing every cached node. On a 100,000-node fleet with 40,005 GPU nodes, this took about 34 ms of fault-quarantine's ~49 ms per event. A counter kept by an informer event handler now supplies the count. A 200-node burst is now cordoned in 3.45 s instead of 9.75 s, within half a second of running with the breaker off, and the median steady-state cordon time fell from 53 ms to 20 ms.

Documentation

  • End-to-end scale test report (#1789, #1705): adds tests/scale-tests/scale-test-report.md, with measurements of component memory, burst absorption, API calls per node, and deployment platform connector sizing.

Acknowledgments

This release includes contributions from:

Thank you to everyone who contributed code, testing, documentation, design reviews, and feedback! Special thanks to first-time contributor @efegokdemir.

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.27.0 \
  --namespace nvsentinel \
  --create-namespace

To upgrade from v1.26.0 — review the Upgrade Notes above first:

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