Skip to content

fix(recipes): restore pullable kai-scheduler chart - #1958

Closed
yuanchen8911 wants to merge 1 commit into
NVIDIA:mainfrom
yuanchen8911:fix/kai-scheduler-chart-source
Closed

yuanchen8911 wants to merge 1 commit into
NVIDIA:mainfrom
yuanchen8911:fix/kai-scheduler-chart-source

Conversation

@yuanchen8911

Copy link
Copy Markdown
Contributor

Summary

Restore KAI Scheduler's embedded Helm coordinates to the public oci://ghcr.io/nvidia/kai-scheduler repository at v0.13.0. Update the generated recipe example, container-image BOM, and KAI-specific bundle references to use the same pullable chart.

Motivation / Context

The v0.14.1 chart coordinates point at an unpublished GHCR package. Because KAI Scheduler is inherited by every base recipe, consumers that fetch charts from resolved ComponentRef data cannot deploy any generated recipe.

v0.13.0 is the newest chart published at the public NVIDIA repository and accepts AICR's existing KAI values. This change updates both the registry default and the explicit base-overlay source because the overlay value takes precedence during recipe resolution.

Fixes: #1954
Related: N/A

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • Build/CI/tooling

Component(s) Affected

  • CLI (cmd/aicr, pkg/cli)
  • API server (cmd/aicrd, pkg/server)
  • Recipe engine / data (pkg/recipe)
  • Bundlers (pkg/bundler, pkg/component/*)
  • Collectors / snapshotter (pkg/collector, pkg/snapshotter)
  • Validator (pkg/validator)
  • Core libraries (pkg/errors, pkg/k8s)
  • Docs/examples (docs/, examples/)
  • Other: KAI Scheduler bundle reference fixtures

Implementation Notes

  • Restore only the KAI Scheduler portion of the earlier combined chart bump; the Kubeflow Trainer pin remains unchanged.
  • Keep the registry default, explicit base overlay, generated example, BOM, and KAI-specific bundle goldens aligned.
  • Replace obsolete real-world coordinates in generic OCI URL tests with synthetic registry URLs while preserving their path-joining coverage.
  • Regenerate the image BOM from the live v0.13.0 chart.

Testing

make bom-docs
helm template kai-scheduler oci://ghcr.io/nvidia/kai-scheduler/kai-scheduler \
  --version v0.13.0 \
  --namespace kai-scheduler \
  --values recipes/components/kai-scheduler/values.yaml
go test -race ./pkg/bundler/deployer/helm/... \
  ./pkg/bundler/deployer/helmfile/... \
  ./pkg/bundler/deployer/argocd/... \
  ./pkg/mirror/...
golangci-lint run -c .golangci.yaml \
  ./pkg/bundler/deployer/argocd/... \
  ./pkg/bundler/deployer/helm/... \
  ./pkg/bundler/deployer/helmfile/... \
  ./pkg/mirror/...
make test-coverage
make qualify

All checks pass. make qualify completed the race suite, full lint, 23 no-cluster Chainsaw tests, vulnerability scan, and license checks. Its Helmfile E2E test pulled ghcr.io/nvidia/kai-scheduler/kai-scheduler:v0.13.0 successfully.

Affected-package coverage is unchanged from origin/main:

  • pkg/bundler/deployer/argocd: 84.0% → 84.0%
  • pkg/bundler/deployer/helm: 84.2% → 84.2%
  • pkg/bundler/deployer/helmfile: 87.2% → 87.2%
  • pkg/mirror: 71.4% → 71.4%

Project-wide coverage is 80.8% against the 80% threshold.

Risk Assessment

  • Low — Isolated change, well-tested, easy to revert
  • Medium — Touches multiple components or has broader impact
  • High — Breaking change, affects critical paths, or complex rollout

The corrected pin is inherited by every recipe, but it restores the last publicly available chart and retains the existing AICR values. The replacement chart was fetched and rendered directly, and all generated deployment formats passed E2E validation.

Rollout notes: Regenerate recipes and bundles created with affected AICR releases; existing point-in-time artifacts retain their original, invalid ComponentRef coordinates.

Checklist

  • Tests pass locally (make test with -race)
  • Linter passes (make lint)
  • I did not skip/disable tests to make CI green
  • I added/updated tests for new functionality
  • I updated docs if user-facing behavior changed
  • Changes follow existing patterns in the codebase
  • Commits are cryptographically signed (git commit -S) — GPG signing info

@yuanchen8911 yuanchen8911 added the theme/recipes Recipe expansion, overlays, mixins, and component registry label Jul 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Recipe evidence check

Broad impact: recipes/overlays/base.yaml changed; every leaf recipe is
potentially affected. Recipes that carry committed evidence are verified below;
the rest have no evidence yet (best-effort).

Protected recipes

Recipes with committed evidence (recipes/evidence/<slug>/<source>/<digest>.yaml) that this PR affects: 6

Recipe Source Pointer Verify Digest match
gb200-eks-ubuntu-training 7c4c0edc8c765a95a0f3afdb3bbb8e91 sha256-93fac974407a873d5b6a52a72bafcaa18b019190545a23d03031680d6aabd2bc ❌ invalid — registry-forbidden (HTTP 401): registry not accessible (make the fork's aicr-evidence package public, or provide registry credentials) ⚠️ skipped (no signed digest)
h100-aks-ubuntu-inference-dynamo 5bf9e82f0e90a11528ac85f4bcb866c8 sha256-b7d3b1c672568329cae994ed4c831af5e569b23209fb81e789d2e2288b44100d ✅ passed ⚠️ stale (b0081437bf6d… vs current e7880a72821b…)
h100-aks-ubuntu-inference-dynamo 5bf9e82f0e90a11528ac85f4bcb866c8 sha256-ca96cea68b11cd3b5f0dbad677d40365287fce8e0a5412b32861888d335c5bdc ✅ passed ⚠️ stale (35e1d989567a… vs current e7880a72821b…)
h100-aks-ubuntu-inference-dynamo 5bf9e82f0e90a11528ac85f4bcb866c8 sha256-edc042d2e32d58bde9bb0e7cfdaa14568a13c144fdf0869958a4d582f3fc8cfc ✅ passed ⚠️ stale (ea8757f630ce… vs current e7880a72821b…)
h100-aks-ubuntu-inference-dynamo 5bf9e82f0e90a11528ac85f4bcb866c8 sha256-f8d2a0188274d179f37dfe39a257aeaa3fbb97273162586853e0986bfa5d3c05 ✅ passed ⚠️ stale (8e88ca57dea5… vs current e7880a72821b…)
h100-aks-ubuntu-training-kubeflow 5bf9e82f0e90a11528ac85f4bcb866c8 sha256-7bfed65fb09c14c6e6cbe87a68e0810a7d24178e0e83d1691c020556c92dbbd8 ✅ passed ⚠️ stale (7726976735b7… vs current b16d9958c86c…)
h100-aks-ubuntu-training-kubeflow 5bf9e82f0e90a11528ac85f4bcb866c8 sha256-7e7c4680bab4c44bb68fab53fc85a7f8d8065ca6b796458a2bc7cb4f4a49bfa9 ✅ passed ⚠️ stale (748b0a7f5852… vs current b16d9958c86c…)
h100-aks-ubuntu-training-kubeflow 5bf9e82f0e90a11528ac85f4bcb866c8 sha256-dc1670c23bbe6711a6ffd86a49160b06d992c8ff84e8f3303facc54dd7aecb61 ✅ passed ⚠️ stale (fac7033fea5c… vs current b16d9958c86c…)
h100-aks-ubuntu-training 5bf9e82f0e90a11528ac85f4bcb866c8 sha256-c51d0f2dd75b9f397ddc9713150159553f4a8d15982095ea52a28872d7eef479 ✅ passed ⚠️ stale (0f210b23045c… vs current 3e416859e4e8…)
h100-gke-cos-training 7c4c0edc8c765a95a0f3afdb3bbb8e91 sha256-be4680f26ad9ebeb57145f1953f18311ca00e81a4edb37773e0ec1060c6bd261 ❌ invalid — registry-forbidden (HTTP 401): registry not accessible (make the fork's aicr-evidence package public, or provide registry credentials) ⚠️ skipped (no signed digest)
h100-gke-cos-training 7c4c0edc8c765a95a0f3afdb3bbb8e91 sha256-f2573e7f2496cc895e6a780604645f7c24ed4d7e0edf4c4845c0d341a3a6326e ❌ invalid — registry-forbidden (HTTP 401): registry not accessible (make the fork's aicr-evidence package public, or provide registry credentials) ⚠️ skipped (no signed digest)
rtx-pro-6000-eks-ubuntu-inference-dynamo 5bf9e82f0e90a11528ac85f4bcb866c8 sha256-3ec33498d3df68b688ae96280634c1a4403b7502a49016be54aecc70b0d2549e ✅ passed ⚠️ stale (348eada47742… vs current f0a42da00317…)
Other affected recipes without evidence yet: 64

These recipes are affected by this PR but carry no committed evidence pointer, so there is
nothing to verify. This is expected — evidence is hardware-gated and added over time.

  • a100-aks-training
  • a100-aks-ubuntu-training-kubeflow
  • a100-aks-ubuntu-training
  • a100-eks-training
  • a100-eks-ubuntu-training-kubeflow
  • a100-eks-ubuntu-training
  • a100-gke-cos-training-kubeflow
  • a100-gke-cos-training
  • a100-oke-training
  • a100-oke-ubuntu-training-kubeflow
  • a100-oke-ubuntu-training
  • b200-gke-cos-inference-dynamo
  • b200-gke-cos-inference
  • b200-gke-cos-training-kubeflow
  • b200-gke-cos-training
  • gb200-eks-inference
  • gb200-eks-training
  • gb200-eks-ubuntu-inference-dynamo
  • gb200-eks-ubuntu-inference
  • gb200-eks-ubuntu-training-kubeflow
  • gb200-eks-ubuntu-training-slurm
  • gb200-oke-inference
  • gb200-oke-training
  • gb200-oke-ubuntu-inference-dynamo
  • gb200-oke-ubuntu-inference
  • gb200-oke-ubuntu-training-kubeflow
  • gb200-oke-ubuntu-training
  • h100-aks-inference
  • h100-aks-training
  • h100-aks-ubuntu-inference
  • h100-aks-ubuntu-training-slurm
  • h100-bcm-training
  • h100-bcm-ubuntu-training
  • h100-eks-inference
  • h100-eks-training
  • h100-eks-ubuntu-inference-dynamo
  • h100-eks-ubuntu-inference-nim
  • h100-eks-ubuntu-inference
  • h100-eks-ubuntu-training-kubeflow
  • h100-eks-ubuntu-training-slurm
  • h100-eks-ubuntu-training
  • h100-gke-cos-inference-dynamo
  • h100-gke-cos-inference
  • h100-gke-cos-training-kubeflow
  • h100-gke-cos-training-slurm
  • h100-kind-inference-dynamo
  • h100-kind-inference
  • h100-kind-training-kubeflow
  • h100-kind-training-slurm
  • h100-kind-training
  • h200-eks-inference
  • h200-eks-training
  • l40s-oke-inference
  • l40s-oke-training
  • rtx-pro-6000-eks-inference
  • rtx-pro-6000-eks-training
  • rtx-pro-6000-eks-ubuntu-inference-nim
  • rtx-pro-6000-eks-ubuntu-inference
  • rtx-pro-6000-eks-ubuntu-training-kubeflow
  • rtx-pro-6000-eks-ubuntu-training
  • rtx-pro-6000-lke-inference
  • rtx-pro-6000-lke-training
  • rtx-pro-6000-lke-ubuntu-inference
  • rtx-pro-6000-lke-ubuntu-training

How to refresh evidence

Run on a cluster matching the recipe's criteria:

aicr snapshot -o snapshot.yaml
aicr validate \
  -r recipes/overlays/<slug>.yaml \
  -s snapshot.yaml \
  --emit-attestation ./out \
  --push ghcr.io/<your-fork>/aicr-evidence
# Copy to the per-source path printed in the emit 'copyTo' hint:
#   recipes/evidence/<slug>/<source>/<bundle-digest>.yaml

This gate is warning-only and never blocks merge. See ADR-007 for the trust model.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 25e41d80-0b61-4598-a576-b82ca76ce436

📥 Commits

Reviewing files that changed from the base of the PR and between 905bec6 and be5fbb2.

📒 Files selected for processing (12)
  • docs/user/container-images.md
  • examples/recipes/aks-training.yaml
  • pkg/bundler/deployer/argocd/argocd_test.go
  • pkg/bundler/deployer/helm/helm_test.go
  • pkg/bundler/deployer/helm/testdata/kai_scheduler_present/001-kai-scheduler/upstream.env
  • pkg/bundler/deployer/helm/testdata/kai_scheduler_present/README.md
  • pkg/bundler/deployer/helmfile/helmfile_test.go
  • pkg/bundler/deployer/helmfile/testdata/kai_scheduler_async/helmfile.yaml
  • pkg/mirror/format_zarf_test.go
  • recipes/overlays/base.yaml
  • recipes/registry.yaml
  • tests/chainsaw/ai-conformance/common/assert-kai-scheduler.yaml

📝 Walkthrough

Walkthrough

Kai Scheduler OCI references were changed from the ghcr.io/kai-scheduler/kai-scheduler namespace and v0.14.1 to ghcr.io/nvidia/kai-scheduler and v0.13.0 across recipes, bundler scenarios, fixtures, documentation, and conformance metadata. OCI path handling tests were also updated to cover repository and chart URL construction.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: mchmarny

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: restoring a pullable kai-scheduler chart.
Description check ✅ Passed The description is directly related to the chart-coordinate fix and its rollout details.
Linked Issues check ✅ Passed The PR restores kai-scheduler to the published NVIDIA OCI repo at v0.13.0, matching the issue's expected fix.
Out of Scope Changes check ✅ Passed The additional docs, tests, and fixtures support the same coordinate update and do not appear unrelated.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/bundler area/docs area/recipes area/tests size/M theme/recipes Recipe expansion, overlays, mixins, and component registry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

kai-scheduler chart unfetchable: registry.yaml points at oci://ghcr.io/kai-scheduler/kai-scheduler, which does not exist on ghcr

1 participant