Skip to content

[Feature]: Add graded, opt-in mixins for NVSentinel remediation #2609

Description

@lalitadithya

Prerequisites

  • I searched existing issues

Feature Summary

Add an opt-in nvsentinel-remediation mixin with a complete, self-contained AICR values file, selected by a leaf or custom overlay. The base recipe stays monitoring-only. Nothing changes for a recipe that does not opt in.

This follows the mixin direction we reached on #1014 and in the design thread that followed. This issue starts the work, and it answers the three questions that stayed open there. I maintain NVSentinel, so I can offer the reference configuration.

Problem/Use Case

We ship NVSentinel in monitoring mode only. It finds GPU faults, but it does not act on them. Our docs say this clearly:

A node that needs a reboot is reported, not rebooted.

An operator repairs each node by hand. On DGXC that is daily work: remediation summaries, manual cordon checks, stuck-node escalations. Those clusters run the full pipeline out of band. AICR users have no path to it.

We understand the concern about flags that upstream ships off, and we think the rule is a good one. NVSentinel looks like a fair exception:

1. Upstream ships the flags off so a first install is safe. The feature is proven. From NVSentinel's docs/OVERVIEW.md:

NVSentinel is running across AWS, GCP, Azure, and OCI on clusters up to 1,100+ nodes and ~40,000 GPUs… NVIDIA internal deployments run with full remediation enabled by default.

2. Step-by-step adoption is an upstream feature. The NVSentinel README's ## Adoption section names four steps: Monitor → Cordon and drain → Remediate → Preflight. It tells users to "start with monitoring, then enable one step at a time."

3. We already treat remediation as core. ADR-018 classifies nvsentinel as core because "its node remediation is runtime-critical," yet the bundle leaves that path off. We also set janitor-provider.csp.provider: generic, which the chart gates on global.janitorProvider.enabled: false. It does nothing today.

Proposed Solution

Build the mixin and the values file. Mixins compose, so each adoption step can be its own mixin. This holds ADR-015 where it is.

Mixin Components it turns on Result
(none — default) none today's behavior
nvsentinel-observe mongodbStore, faultQuarantine, nodeDrainer, faultRemediation, plus global.dryRun: true logs the planned action, changes nothing
nvsentinel-quarantine the same, with dryRun: false cordons and drains the node
nvsentinel-remediation adds janitor and janitorProvider, maps COMPONENT_RESET to GPUReset repairs the node

Scope boundary. AICR owns composition and qualification. NVSentinel owns policy. AICR renders, deploys and tests the configuration. AICR does not decide when a node reboots.

The three open questions:

  1. Is the config portable? The part AICR needs is. Upstream ships values-remediation.yaml inside the pinned chart. It is self-contained, and it carries the COMPONENT_RESET → GPUReset map that docs: record NVSentinel's monitoring-only deployment posture #2467 found missing from a plain flag flip. Nothing in the OSS path depends on anything internal. Credentials and the slinky/nvcf drainer sidecars do not port, so they stay out of the mixin. I will follow up on the per-cluster keys.
  2. Is AICR in the remediation business? No — see the scope boundary above.
  3. How much validation makes it supported? Up to the decision, not the execution. global.dryRun wires --dry-run into fault-quarantine, fault-remediation and node-drainer. We inject a synthetic health event and assert the resolved action is GPUReset, not RebootNode. janitor is not covered, so "supported" means the configuration resolves correctly.

Success Criteria

  • The mixin and an AICR-owned values file exist, selected by a leaf or custom overlay.
  • A render test asserts the resolved maintenance.actions map, so a chart bump cannot quietly turn a GPUReset into a RebootNode.
  • A dry-run test injects a synthetic health event and asserts the resolved action.
  • recipes/checks/nvsentinel/health-check.yaml asserts the components each mixin turns on.
  • docs/user/container-images.md lists the added images, and the mirror and scan jobs cover them.
  • A KWOK lane renders each step.
  • docs/user/component-catalog.md drops the "AICR does not support enabling remediation today" paragraph.

Alternatives Considered

  • Document the --set flags. docs: record NVSentinel's monitoring-only deployment posture #2467 showed this is unsafe. The flags start the pipeline but leave maintenance.actions at the subchart default, where COMPONENT_RESET maps to RebootNode. A recoverable GPU fault would reboot the whole node.
  • A second ADR-015 profile. ADR-015 allows one profile per resolved recipe, and AKS and GKE-COS already use theirs for gpuStack.
  • Fold remediation into gpuStack. Remediation is a separate axis, so the values become a Cartesian product. ADR-015 rejects that shape.
  • Leave it out of band. Today's state. It keeps the duplication and gives AICR users nothing.

Component

Multiple components

Priority

Important (would improve my workflow)

Compatibility / Breaking Changes

We expect none. No recipe gets the mixin unless it asks for it.

Operational Considerations

  • Images. Our values plus values-remediation.yaml raise the image set from 6 to 17, including bitnamilegacy/{mongodb,mongodb-exporter,nginx,kubectl} and third-party ghcr.io/rtsp/docker-mongosh. We do not mirror or scan these today.
  • Blast radius. The generic provider runs chroot /host /sbin/reboot in a privileged Job. The observe step changes nothing on the cluster.
  • Datastore. mongodbStore needs a storage class, or the PVC stays Pending and the chain crash-loops. On arm64 the default MongoDB image has no manifest; the Percona path covers it (NVIDIA/NVSentinel#1328).
  • Known limit. The generic provider cannot terminate a node, so REPLACE_VM still needs a CSP provider.
  • Upgrades. Each chart bump needs a values re-check. We pin v1.20.0; upstream is at v1.22.0 (Bump nvsentinel to v1.22.0+ and re-enable metadata-collector on VR200/RKE2 #2596).

Are you willing to contribute?

No response

Activity

  1. changed the title [-][Feature]:[/-] [+][Feature]: Add graded, opt-in mixins for NVSentinel remediation[/+] on Sep 8, 2026
  2. added
    theme/resilience
    on Sep 8, 2026
  3. mchmarny commented on Sep 8, 2026

    @mchmarny
    Member

    Triaged: confirmed at unset / Backlog. Scope remains valid but is not ready for immediate execution; current placement is intentional.

  4. lalitadithya commented on Sep 10, 2026

    @lalitadithya
    CollaboratorAuthor

    let's make sure to use the percona option and let's try and see if we can bundle percona separately as we have started to see some pain points during upgrades od percona

  5. self-assigned this
    on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/docstheme/resilience

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions