← Back to Pull requests

feat: integrate NVCRE with new node and post-remediation validation #1922

Closed
unknown closed this pull request without merging on Oct 01, 2026 09:20 UTC
View on GitHub
unknown unknown commented on Sep 27, 2026 22:13 UTC
Author

Summary

This PR adds support for running new node or post-remediation validation tests from an NVCRE test provider. Currently, the only supported test provider is the k8s-job-provider, which supports a dcgm-diag-test. This change adds an additional nvcre-provider which currently supports nccl-loopback-nvswitch and nccl-all-reduce tests. An operator must opt-in to running NVCRE (on top of enabling the lifecycle-manager with its existing defaults).

To leverage the NVCRE test provider, an operator needs to follow these steps:

  • Install NVCRE: https://github.com/NVIDIA/cluster-readiness-engine

  • Enable the lifecycle-manager component (off by default). The existing lifecycle-manager/values.yaml enables k8s-job-provider with dcgm-diag-test, as well as new node validation.

  • Enable post-remediation validation in fault-quarantine (off by default). The existing fault-quarantine/values.yaml includes a rule set configuration which triggers dcgm-diag-test for any remediation requiring a reboot.

  • Consume the overrides in values-nvcre.yaml, which overrides a subset of variables from lifecycle-manager/values.yaml and fault-quarantine/values.yaml. Specifically, it will define the nvcre-provider with the nccl-loopback-nvswitch and nccl-all-reduce tests, override post-remediation validation to run dcgm-diag-test and nccl-loopback-nvswitch, and override new node validation to run dcgm-diag-test, nccl-loopback-nvswitch, and nccl-all-reduce.
  • Note that the example values-nvcre.yaml file is tailored for a GB200 GCP environment. At a minimum, an operator will need to confirm NVCRE supports their CSP and GPU combination, and likely override the following settings:

  • schedulingGate.taints

  • nccl-loopback-nvswitch.bandwidthGBps

  • nccl-all-reduce.bandwidthGBps
  • An operator may also want to define additional NVCRE communication tests to run, such as nccl-loopback, nccl-all-gather, or nccl-all-to-all. NVCRE also supports Nemotron training tests, which could be leveraged by the nvcre-provider (requiring goodputRatio to be set rather than bandwidthGBps).

    Testing

    Manual testing results against a GCP GB200 cluster. NVSentinel installation:

    helm upgrade --install nvsentinel distros/kubernetes/nvsentinel \
      --namespace nvsentinel --create-namespace \
      --values distros/kubernetes/nvsentinel/values-remediation.yaml \
      --values distros/kubernetes/nvsentinel/values-nvcre.yaml \
      --set global.image.tag=v1.25.0 \
      --timeout 20m --wait
    

    Case 1: Post-remediation validation running dcgm-diag-test and nccl-loopback-nvswitch

    After injecting an XID 95 into DCGM which triggered a RESTART_VM remediation, fault-quarantine created the following ValidationRequest:

    apiVersion: nvsentinel.nvidia.com/v1alpha1
    kind: ValidationRequest
    metadata:
      name: gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-0wc4-validation-9e957162e15e
    ...
    spec:
      nodes:
      - name: gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-0wc4
      tests:
      - dcgm-diag-test
      - nccl-loopback-nvswitch
    status:
      completionTime: "2026-09-28T23:40:20Z"
      phase: Succeeded
      startTime: "2026-09-28T23:32:09Z"
      testGroups:
      - attempts:
        - endTime: "2026-09-28T23:35:39Z"
          objectName: gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-0wc4--42e9085c-1
          phase: Succeeded
          startTime: "2026-09-28T23:33:55Z"
        name: dcgm-diag-test-group-1
        nodes:
        - gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-0wc4
        phase: Succeeded
        provider: k8s-job-provider
        tests:
        - dcgm-diag-test
      - attempts:
        - endTime: "2026-09-28T23:40:20Z"
          objectName: gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-0wc4--ac19ccd3-1
          phase: Succeeded
          startTime: "2026-09-28T23:35:39Z"
        name: nccl-loopback-nvswitch-group-1
        nodes:
        - gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-0wc4
        phase: Succeeded
        provider: nvcre-provider
        tests:
        - nccl-loopback-nvswitch
    

    Case 2: New node validation running dcgm-diag-test, nccl-loopback-nvswitch, and nccl-all-reduce

    After creating new 2 nodes, the node-validation-controller created the following ValidationRequest which batched the 2 nodes into a single request:

    % kubectl get validationrequests -o yaml --watch
    apiVersion: nvsentinel.nvidia.com/v1alpha1
    kind: ValidationRequest
    metadata:
    ...
      name: validation-1790643391763878321
    spec:
      nodes:
      - name: gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-5tw3
      - name: gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-7s2n
      tests:
      - dcgm-diag-test
      - nccl-loopback-nvswitch
      - nccl-all-reduce
    status:
      completionTime: "2026-09-29T01:29:39Z"
      phase: Succeeded
      startTime: "2026-09-29T00:56:51Z"
      testGroups:
      - attempts:
        - endTime: "2026-09-29T01:02:45Z"
          objectName: validation-1790643391763878321-dcgm-diag-test-group-1-1
          phase: Succeeded
          startTime: "2026-09-29T01:01:00Z"
        name: dcgm-diag-test-group-1
        nodes:
        - gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-5tw3
        phase: Succeeded
        provider: k8s-job-provider
        tests:
        - dcgm-diag-test
      - attempts:
        - endTime: "2026-09-29T01:02:44Z"
          objectName: validation-1790643391763878321-dcgm-diag-test-group-2-1
          phase: Succeeded
          startTime: "2026-09-29T01:01:00Z"
        name: dcgm-diag-test-group-2
        nodes:
        - gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-7s2n
        phase: Succeeded
        provider: k8s-job-provider
        tests:
        - dcgm-diag-test
      - attempts:
        - endTime: "2026-09-29T01:29:39Z"
          objectName: validation-1790643391763878321-nccl-all-reduce-nccl--53827f7b-1
          phase: Succeeded
          startTime: "2026-09-29T01:02:45Z"
        name: nccl-all-reduce-nccl-loopback-nvswitch-group-1
        nodes:
        - gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-5tw3
        - gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-7s2n
        phase: Succeeded
        provider: nvcre-provider
        tests:
        - nccl-loopback-nvswitch
        - nccl-all-reduce
    

    Corresponding Certification results:
    ╔════════════════════════════════════════════════════════════════╗
    ║                      Certification Report                      ║
    ╚════════════════════════════════════════════════════════════════╝
    
      Name:      validation-1790643391763878321-nccl-all-reduce-nccl--53827f7b-1
      Platform:  gcp
      GPU:       gb200
      Nodes:     2
    
    ┌────────────────────────────────────────────────────────────────┐
    │  communication/nccl-loopback-nvswitch                          │
    ├────────────────────────────────────────────────────────────────┤
    │  Status:    Succeeded                                          │
    │  Runtime:   4m 29s                                             │
    │  Scale:     intra-node                                         │
    │  Nodes/Job: 1                                                  │
    │  Jobs:      2                                                  │
    │                                                                │
    │  Bandwidth by group:                                           │
    │      ✓  group-1 (gke-xmnvzter-gpu-eb86dce7-7s2n)               │
    │         686.92 GB/s                                            │
    │      ✓  group-0 (gke-xmnvzter-gpu-eb86dce7-5tw3)               │
    │         686.98 GB/s                                            │
    │                                                                │
    │  Bandwidth:                                                    │
    │    Size       AlgBW        BusBW        Samples                │
    │    16 GB      457.94 GB/s  686.92 GB/s  9                      │
    └────────────────────────────────────────────────────────────────┘
    
    ┌────────────────────────────────────────────────────────────────┐
    │  communication/nccl-all-reduce                                 │
    ├────────────────────────────────────────────────────────────────┤
    │  Status:    Running                                            │
    │  Runtime:   21m 51s                                            │
    │  Scale:     full-scale                                         │
    │  Nodes/Job: 2                                                  │
    │  Jobs:      1                                                  │
    │                                                                │
    │  Bandwidth:                                                    │
    │    Size       AlgBW        BusBW        Samples                │
    │    16 GB      477.28 GB/s  835.25 GB/s  9                      │
    └────────────────────────────────────────────────────────────────┘
    
    ┌────────────────────────────────────────────────────────────────┐
    │  Summary                                                       │
    ├────────────────────────────────────────────────────────────────┤
    │  Categories:   1/2 passed                                      │
    │  Failed Nodes: none                                            │
    │  Result:       RUNNING                                         │
    └────────────────────────────────────────────────────────────────┘
    

    Case 3: New node validation running dcgm-diag-test and nccl-loopback-nvswitch but skipping nccl-all-reduce

    After creating new 1 node, the node-validation-controller created the following ValidationRequest with the single node. Since the node batch minimum was not met for nccl-all-reduce and since the failure policy is ignore, it was skipped and we only executed dcgm-diag-test and nccl-loopback-nvswitch.

    apiVersion: nvsentinel.nvidia.com/v1alpha1
    kind: ValidationRequest
    metadata:
    ...
      name: validation-1790645985388222391
    spec:
      nodes:
      - name: gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-5tw3
      tests:
      - dcgm-diag-test
      - nccl-loopback-nvswitch
      - nccl-all-reduce
    status:
      completionTime: "2026-09-29T01:49:52Z"
      phase: Succeeded
      skipped:
        tests:
        - nccl-all-reduce
      startTime: "2026-09-29T01:39:50Z"
      testGroups:
      - attempts:
        - endTime: "2026-09-29T01:45:06Z"
          objectName: validation-1790645985388222391-dcgm-diag-test-group-1-1
          phase: Succeeded
          startTime: "2026-09-29T01:43:22Z"
        name: dcgm-diag-test-group-1
        nodes:
        - gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-5tw3
        phase: Succeeded
        provider: k8s-job-provider
        tests:
        - dcgm-diag-test
      - attempts:
        - endTime: "2026-09-29T01:49:52Z"
          objectName: validation-1790645985388222391-nccl-loopback-nvswitch-group-1-1
          phase: Succeeded
          startTime: "2026-09-29T01:45:07Z"
        name: nccl-loopback-nvswitch-group-1
        nodes:
        - gke-xmnvzter-dgxc-k8s-gc-customer-gpu-eb86dce7-5tw3
        phase: Succeeded
        provider: nvcre-provider
        tests:
        - nccl-loopback-nvswitch
    

    Type of Change


  • 🐛 Bug fix

  • [X] ✨ New feature

  • 💥 Breaking change

  • 📚 Documentation

  • 🔧 Refactoring

  • 🔨 Build/CI
  • Component(s) Affected


  • Health Monitor

  • [X] Core Service

  • Fault Management

  • Janitor

  • Deployment/Config

  • API/Interface

  • Preflight

  • Plugins

  • Documentation/CI

  • New Component

  • Multiple Components

  • Other
  • Testing


  • [X] Tests pass locally

  • Manual testing completed

  • [X] No breaking changes (or documented)
  • Checklist


  • Self-review completed

  • [X] Documentation updated (if needed)

  • [X] Ready for review
  • <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

    Summary

    New Features
    Added NVCRE validation for new nodes, including GPU diagnostics and NCCL communication tests with configurable bandwidth thresholds.
    Added post-remediation validation for matching fatal GPU health events.
    Added multi-node validation and a readiness check requiring nodes to be cordoned.
    Added Tilt configuration for new-node smoke and communication tests.
    Improvements
    New-node validation now runs every 600 seconds instead of every 900 seconds.
    Test providers can receive configured bandwidth and training-quality thresholds.
    Bug Fixes
    Prevented overlapping validation groups from starting while a previous provider resource is still being removed.
    Documentation
    Added guides for validation setup and configuration.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: natherz97 Review duration: 4987m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1922"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%