Skip to content

fix(recipe): align AKS training K8s floors with DRA-GA >= 1.34 rationale - #1908

Merged
yuanchen8911 merged 6 commits into
NVIDIA:mainfrom
mohityadav8:fix/issue-1772-aks-training-k8s-floor
Jul 30, 2026
Merged

yuanchen8911 merged 6 commits into
NVIDIA:mainfrom
mohityadav8:fix/issue-1772-aks-training-k8s-floor

Conversation

@mohityadav8

Copy link
Copy Markdown
Contributor

Bumps the remaining AKS training leaves (aks-training, a100/h100 base, ubuntu, and kubeflow overlays) from >= 1.30 / >= 1.32.4 to >= 1.34, matching the DRA-GA rationale already stated in aks.yaml. The Slurm leaf was already correct (bumped in #1744).

Extends TestH100AKSUbuntuTrainingSlurmFloorNotClobbered with sibling leaf cases so the whole AKS training family's resolved floor is pinned, not just the Slurm leaf. Syncs the resolved example recipe.

Fixes: #1772

Bumps the remaining AKS training leaves (aks-training, a100/h100 base,
ubuntu, and kubeflow overlays) from >= 1.30 / >= 1.32.4 to >= 1.34,
matching the DRA-GA rationale already stated in aks.yaml. The Slurm
leaf was already correct (bumped in NVIDIA#1744).

Extends TestH100AKSUbuntuTrainingSlurmFloorNotClobbered with sibling
leaf cases so the whole AKS training family's resolved floor is
pinned, not just the Slurm leaf. Syncs the resolved example recipe.

Fixes: NVIDIA#1772
@mohityadav8
mohityadav8 requested review from a team as code owners July 24, 2026 10:17
@copy-pr-bot

copy-pr-bot Bot commented Jul 24, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Jul 24, 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: 197ac295-35c3-458c-9c77-f1ffabc87ff6

📥 Commits

Reviewing files that changed from the base of the PR and between dfaaa29 and 0617b24.

📒 Files selected for processing (6)
  • recipes/overlays/a100-aks-ubuntu-training-kubeflow.yaml
  • recipes/overlays/a100-aks-ubuntu-training.yaml
  • recipes/overlays/aks-training.yaml
  • recipes/overlays/h100-aks-training.yaml
  • recipes/overlays/h100-aks-ubuntu-training-kubeflow.yaml
  • recipes/overlays/h100-aks-ubuntu-training.yaml

📝 Walkthrough

Walkthrough

AKS training recipe overlays and the Azure assertion now require Kubernetes server version >= 1.34. The metadata store regression test covers additional AKS training combinations and verifies both resolved and leaf-local constraints. Snapshot and GPU driver state tests now use Kubernetes v1.34.0.

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

Possibly related issues

Suggested reviewers: njhensley

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed It clearly summarizes the main change: raising AKS training K8s floors to 1.34 for DRA-GA alignment.
Description check ✅ Passed The description matches the PR scope and mentions the AKS floor bumps, regression test expansion, and synced example recipe.
Linked Issues check ✅ Passed The PR satisfies #1772 by raising the remaining AKS training leaves to >= 1.34 and expanding the regression test to sibling leaves.
Out of Scope Changes check ✅ Passed No clearly unrelated changes are shown; the test and snapshot updates support the AKS floor alignment work.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@github-actions

github-actions Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Recipe evidence check

Protected recipes

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

Recipe Source Pointer Verify Digest match
h100-aks-ubuntu-training-kubeflow 5bf9e82f0e90a11528ac85f4bcb866c8 sha256-7bfed65fb09c14c6e6cbe87a68e0810a7d24178e0e83d1691c020556c92dbbd8 ✅ passed ⚠️ stale (7726976735b7… vs current 9147851c6454…)
h100-aks-ubuntu-training-kubeflow 5bf9e82f0e90a11528ac85f4bcb866c8 sha256-7e7c4680bab4c44bb68fab53fc85a7f8d8065ca6b796458a2bc7cb4f4a49bfa9 ✅ passed ⚠️ stale (748b0a7f5852… vs current 9147851c6454…)
h100-aks-ubuntu-training-kubeflow 5bf9e82f0e90a11528ac85f4bcb866c8 sha256-dc1670c23bbe6711a6ffd86a49160b06d992c8ff84e8f3303facc54dd7aecb61 ✅ passed ⚠️ stale (fac7033fea5c… vs current 9147851c6454…)
h100-aks-ubuntu-training 5bf9e82f0e90a11528ac85f4bcb866c8 sha256-c51d0f2dd75b9f397ddc9713150159553f4a8d15982095ea52a28872d7eef479 ✅ passed ⚠️ stale (0f210b23045c… vs current 841049316b1f…)
Other affected recipes without evidence yet: 5

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
  • h100-aks-training
  • h100-aks-ubuntu-training-slurm

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.

@njhensley njhensley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Multi-persona review — PR #1908

Reviewed with 4 parallel persona lenses (correctness/recipe-resolution, test-coverage & CI, domain & architecture, operability/release-impact), then every claim independently re-derived by an adversarial senior meta-reviewer against the resolved code at 5481b86. 1 claim refuted outright, 2 sub-claims refuted, 3 re-tiered, 2 new findings surfaced. Everything below was reproduced by running code, not read off a claim.

Legend: 🔴 Blocker · 🟠 Major · 🟡 Minor · 🔵 Nitpick

Overall assessment

The change is correct and does exactly what #1772 option 1 asks. The restate-the-floor-on-each-leaf approach — which looks like avoidable duplication — is architecturally right: evaluateOverlayConstraints (pkg/recipe/metadata_store.go:1175) iterates only a candidate leaf's own Spec.Constraints, because filterToMaximalLeaves has already pruned ancestors. Verified by deleting the constraint block from all 7 bumped leaves: ./pkg/recipe and ./pkg/client/v1 both went green, i.e. inheriting instead of restating silently disables snapshot-driven exclusion. Keep the restatements.

Two must-fix one-liners block merge. Both are in files this PR doesn't touch, so they're here rather than inline.


🔴 1 — pkg/client/v1 is broken by this PR; tests / Test and gate are already red

pkg/client/v1/aicr_test.go:1504, :1523, pkg/client/v1/gpu_driver_state_test.go:52, :253

GOFLAGS=-mod=vendor go test ./pkg/client/v1/... fails on this branch and passes on origin/main (verified against a clean baseline worktree). Five subtests:

--- FAIL: TestResolveRecipeFromSnapshot_GPUDriverAutoDetect/aks_+_{preinstalled,k8s-only,absent}
--- FAIL: TestBundleComponents_DriverOwnershipPreflight/{absent,preinstalled}_driver
    [INVALID_REQUEST] service 'aks' for criteria(service=aks, accelerator=h100,
    intent=training) requires os (valid: ubuntu)

Mechanism: those fixtures pin the snapshot to v1.33.0. With h100-aks-training now restating >= 1.34, the leaf is constraint-excluded during resolution, and verifyCriteriaCoverage then reports the uncovered dimension via completionClause (pkg/recipe/coverage.go:266) rather than the version failure. Matches CI run 30300682638.

Note there are no per-service fixtures — k8sVersionSnapshot() / gpuHardwareSnapshot() are shared helpers used by EKS, GKE and AKS. Bumping all four v1.33.0 literals to v1.34.0 turns the package green (1.34 also satisfies every EKS/GKE floor, all ≤ 1.32.4). The now-wrong explanatory comments at aicr_test.go:806,828,1500-1503 ("clears >= 1.32.4") need updating too.

🔴 2 — Nightly Azure UAT golden not synced → AKS training lane breaks on merge

tests/uat/azure/tests/cuj1-training/assert-recipe.yaml:30 — still value: '>= 1.32.4' for criteria service: aks / accelerator: h100 / intent: training / os: ubuntu / platform: kubeflow, i.e. the exact leaf this PR bumps.

Not inferred — I generated the recipe and ran the consumer command from chainsaw-test.yaml verbatim (chainsaw 0.2.14): exit 1, diff - value: '>= 1.32.4' / + value: '>= 1.34'. uat-azure.yaml is on: workflow_call only, so this is not a PR gate — but infra/uat/reservations.yaml enrolls azure-h100 with nightly-intents: [training, inference], so it breaks deterministically on the next nightly, aborting CUJ1 at step 2 before validate/bundle/evidence ever run. (The UAT cluster itself is provisioned at 1.35 per tests/uat/azure/cluster-config.yaml:31 — the constraint would pass at runtime; this is purely the stale literal.) Sibling cuj2-inference/assert-recipe.yaml:31 is already >= 1.34. One-line fix, please land it in this PR.

🟠 3 — The only new test proves nothing (see inline comment on metadata_store_test.go)

🟠 4 (new) — h100-gke-cos-training-slurm inherits its floor and is therefore ungated

recipes/overlays/h100-gke-cos-training-slurm.yaml:39-42 says the floor is "inherited … so we don't restate it here." Given the leaf-only exclusion mechanic above, that's a latent correctness bug, and it reproduces: resolving gke/h100/cos/training/slurm against a v1.30.0 snapshot succeeds and emits a recipe carrying K8s.server.version: >= 1.32 and nvidia-dra-driver-gpu — a self-contradictory artifact. The control case in the same run (gke/h100/cos/training, whose leaf does restate) is correctly excluded at v1.30.0.

Pre-existing and not caused by this PR — but this PR's mechanism is what surfaces it. Worth a follow-up: either restate the floor there (and audit for other inheriting leaves), or make evaluateOverlayConstraints walk the spec.base chain so inheritance and gating agree.

🟠 5 (new) — This PR turns a clean resolve into a 3-hop misleading error for its own target users

pkg/recipe/coverage.go:266. On main, aks/h100/training (no OS) + a 1.33 snapshot resolves. On this branch it fails with requires os (valid: ubuntu); following that advice yields requires platform (valid: kubeflow, slurm); following that finally yields is provided only by overlays excluded by failing constraints. At no point does it say "your cluster is 1.33 and this recipe needs 1.34" — which, per finding 8, is a hard exit-2 at validate time too.

completionClause already has an onlyExcluded branch; the defect is that intermediate hops report a missing dimension when the real cause is constraint-exclusion of the sole covering overlay. Out of scope to fix here — worth filing.

🟡 6 — Stale rationale comment (see inline comment on a100-aks-training.yaml)

🟡 7 — AKS inference leaves still clobber the same aks.yaml floor

aks-inference.yaml:36 (>= 1.30), h100-aks-inference.yaml:33 and h100-aks-ubuntu-inference.yaml:38 (>= 1.32.4) — all ship nvidia-dra-driver-gpu from base.yaml plus the dra-support conformance check from aks.yaml, against docs/integrator/aks-gpu-setup.md:5's unqualified "AICR requires Kubernetes 1.34 or later on AKS". h100-aks-ubuntu-inference-dynamo.yaml is already >= 1.34, so the inference family is internally split too.

Entirely pre-existing and #1772 is explicitly training-scoped, so not a blocker. But #1772's option 2 ("reconcile the aks.yaml rationale so it no longer claims a family-wide DRA-GA floor") is left unaddressed by either option — after this merges, AKS training is aligned to the docs and AKS inference silently is not. Please file the follow-up and reference it in the PR body.

🟡 8 — Breaking change not classified; PR template not used; missing theme/* label

The floor is a hard gate, verified end to end: checkReadiness is called at pkg/validator/validator.go:209, before the if v.NoCluster short-circuit at :219; failure returns ErrCodeInvalidRequest (:68), which exitCodeFromErrorCode (pkg/errors/exitcode.go:82) maps to exit 2. --fail-on-error=false does not suppress it — the repo's own help text at pkg/cli/validate.go:607 says it "scopes to phase checks". So an AKS 1.30–1.33 training operator goes from passing to exit-2 with no Jobs deployed and no CTRF report.

The PR body is three prose paragraphs with none of .github/PULL_REQUEST_TEMPLATE.md's sections and no [x] Breaking change. Suggest refilling the canonical template, ticking Breaking change, and adding a Risk Assessment rollout note pointing at the documented no-skip upgrade path (docs/integrator/aks-gpu-setup.md:23-40 — AKS forbids version skipping, so 1.30 users need 1.30→…→1.33→1.34). Also missing the required theme/recipes label.


Confirmed non-issues (examined and cleared)

  • Tier 1 / oke-ol (argocd-git) + KWOK Test Summary failures are not this PR. main has been red 07-25 → 07-27 with a different random cell each run (a100-eks-training (argocd-oci), bcm-inference, gke-cos-training, h100-aks-inference…). oke-ol is Oracle Linux, untouched by an AKS-only diff. Pre-existing KWOK flake; deserves its own infra issue.
  • examples/recipes/aks-training.yaml sync is correct. Regenerated via aicr recipe --service aks --accelerator h100 --intent training --os ubuntu and compared: criteria, metadata.appliedOverlays, and the bumped constraint all match live output. (Nothing gates this file — no test or workflow references examples/recipes, and Makefile:11 excludes ./examples/* from yamllint — but examples/recipes/README.md documents examples as regenerate-on-demand, so that is by design, not drift.)
  • No docs update is owed. docs/integrator/aks-gpu-setup.md:5 already states the 1.34 requirement and docs/integrator/index.md:25 advertises "Kubernetes 1.34+ (DRA GA)" — this PR brings the recipes into alignment with already-published docs. Every other 1.32.4 / 1.30 hit under docs/ is a generic or EKS-based syntax example.
  • #1772's "run make bom-docs / regenerate the recipe-health matrix" is a no-op here. Verified both outputs are floor-agnostic: tools/health/markdown.go:275 grades resolves / chart_pinned / constraints_wellformed and never reads a constraint value; docs/user/recipe-health.md has no K8s column; docs/user/container-images.md is chart/image-only.
  • The A100 1.30 → 1.34 jump is technically justified. base.yaml:88 adds nvidia-dra-driver-gpu unconditionally, aks.yaml overrides it with no accelerator gating, and a100-aks-training.yaml:95 explicitly declares the dra-support check. There is no A100 exclusion path anywhere, so the DRA-GA rationale applies identically.
  • Test-case coverage is exactly 1:1. Each of the 7 bumped overlays has a matching new case; no bumped leaf lacks one, no case targets an unbumped leaf.
  • Adding remediation: text to the overlays would be inert. Constraint.Remediation is rendered only by aicr query (pkg/recipe/query.go:89); grep -rn Remediation pkg/validator/ returns nothing, and no recipes/overlays/*.yaml sets it — including every sibling already at >= 1.34. Plumbing it into checkReadiness is the real fix, separately.
  • Restate-vs-inherit — the "7 more places to drift" objection is real but is the lesser risk; see the overall assessment.

Tally: 🔴 2 · 🟠 3 · 🟡 3 · 🔵 1

Blocking work is two one-line edits (findings 1 and 2) plus the test godoc / discriminating-power fix. The underlying change is correct and well-motivated.

Comment thread pkg/recipe/metadata_store_test.go Resolved
Comment thread pkg/recipe/metadata_store_test.go Resolved
Comment thread recipes/overlays/a100-aks-training.yaml Resolved

@yuanchen8911 yuanchen8911 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One issue: this floor change breaks a UAT fixture that pins the old value. Details inline.

constraints:
- name: K8s.server.version
value: ">= 1.32.4"
value: ">= 1.34"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Raising this floor breaks the Azure UAT CUJ1 fixture, which still pins the old value.

tests/uat/azure/tests/cuj1-training/assert-recipe.yaml:30 asserts value: '>= 1.32.4' under criteria service: aks, accelerator: h100, intent: training, os: ubuntu, platform: kubeflow — exactly the recipe this overlay produces. tests/uat/azure/tests/cuj1-training/chainsaw-test.yaml generates it with aicr recipe --service aks --accelerator h100 --intent training --os ubuntu --platform kubeflow and then runs chainsaw assert --resource recipe.yaml --file ./assert-recipe.yaml, so the generated recipe now emits >= 1.34 and no longer matches.

The sibling AWS fixture at tests/uat/aws/tests/cuj1-training/assert-recipe.yaml:30 confirms these assertions track the leaf's exact constraint value (the EKS leaf is still 1.32.4 and its fixture still says so), and the already-1.34 inference leaves have matching assertions at tests/uat/azure/tests/cuj2-inference/assert-recipe.yaml:31.

Impact is the nightly Azure UAT training lane: it fails at the assert-recipe step on a real provisioned AKS H100 cluster and skips the downstream validate/bundle steps — a red batch and a wasted GPU provision for a purely stale expectation. Updating that fixture to >= 1.34 in this PR would keep it consistent with the other leaves.

@yuanchen8911 yuanchen8911 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A fresh review of this PR turned up more than the fixture mismatch already noted. Inline comments below; one item could not be anchored inline.

The AKS inference family is left behind, so the clobber this PR fixes for training is still live for inference. recipes/overlays/aks.yaml:34 declares >= 1.34 on the rationale that DRA is GA only in 1.34 and every AKS recipe pulls nvidia-dra-driver-gpu from base, and descendants override it downward under last-writer-wins. After this PR the training chain is uniformly 1.34, but recipes/overlays/aks-inference.yaml:36 is still >= 1.30, and h100-aks-inference.yaml:33 and h100-aks-ubuntu-inference.yaml:38 are still >= 1.32.4.

So aicr recipe --service aks --accelerator h100 --intent inference still advertises a floor below the DRA-GA requirement: a 1.32/1.33 AKS cluster passes recipe-time constraint evaluation and then deploys nvidia-dra-driver-gpu against a non-GA resource.k8s.io API. docs/integrator/aks-gpu-setup.md:5 states AICR requires Kubernetes 1.34 or later on AKS.

It also splits the family: the dynamo leaf h100-aks-ubuntu-inference-dynamo.yaml:35 is already 1.34, which is why the CUJ2 inference fixture needs no change, while its non-dynamo siblings are not. Whether that belongs in this PR is your call, but it is the same defect shape left half-fixed.

constraints:
- name: K8s.server.version
value: ">= 1.32.4"
value: ">= 1.34"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This floor raise breaks two existing Go tests, because their snapshot fixture pins v1.33.0.

ResolveRecipeFromSnapshot builds a constraints.Evaluate-backed evaluator, and pkg/recipe/metadata_store.go:1075-1094 excludes every overlay whose own constraints fail. With this leaf and its whole ancestry now at >= 1.34 (aks-training.yaml:32 raised 1.30 to 1.34, aks.yaml:34 already 1.34), a v1.33.0 snapshot leaves no service=aks overlay that can resolve (aks, h100, training).

Two consumers fail as a result:

  • TestResolveRecipeFromSnapshot_GPUDriverAutoDetect — the three AKS subtests at pkg/client/v1/aicr_test.go:929, :936 and :970 each hit t.Fatalf on ResolveRecipeFromSnapshot.
  • TestBundleComponents_DriverOwnershipPreflight — newAKSRecipe (aicr_test.go:1901-1921) resolves the same criteria and fatals at :1919. Both subtests feed gpuHardwareSnapshot, which pins const version = "v1.33.0" at aicr_test.go:152, so the driver-ownership bundle preflight is not exercised at all.

Both need the fixture bumped to a >= 1.34 server version in this PR. This was established by reading the exclusion and resolve path rather than by running the suite.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed by CI rather than inference — the run on this head is already red for exactly these two tests.

From tests / Test (run 30300682638, job 90092662045):

--- FAIL: TestBundleComponents_DriverOwnershipPreflight (0.00s)
    --- FAIL: .../preinstalled_driver_→_BundleComponents_passes (0.29s)
        aicr_test.go:1950: ResolveRecipeFromSnapshot: [INVALID_REQUEST] service 'aks' for
        criteria(service=aks, accelerator=h100, intent=training) requires os (valid: ubuntu)
    --- FAIL: .../absent_driver_→_BundleComponents_blocked (0.33s)
        aicr_test.go:1926: ...

--- FAIL: TestResolveRecipeFromSnapshot_GPUDriverAutoDetect (0.00s)
    --- FAIL: .../aks_+_absent_snapshot_records_state_for_the_bundle-time_gate (0.25s)
    --- FAIL: .../aks_+_k8s-only_snapshot_is_Unknown_→_no_override (0.24s)
    --- FAIL: .../aks_+_preinstalled_snapshot_injects_(profile_gate_satisfied) (0.44s)
        aicr_test.go:1009: ...same INVALID_REQUEST

The message surfaces as "requires os" rather than a version mismatch because once the os-less AKS training overlays are excluded by the failed >= 1.34 constraint, only the ubuntu leaves remain, so the resolver reports a missing os instead of a floor failure. Same root cause.

The fix looks like one line: gpuHardwareSnapshot pins const version = "v1.33.0" at pkg/client/v1/aicr_test.go:152. Raising that to a >= 1.34 version should clear all five subtests.

@@ -32,7 +32,7 @@ spec:
# Constraint names use fully qualified measurement paths: {type}.{subtype}.{key}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rationale comment immediately above this constraint is now false. Lines 30-31 read "A100 has no IMEX/NVLink ComputeDomain requirement, so the recipe keeps the AKS training baseline rather than the H100 1.32.4 floor" — but this leaf is now >= 1.34 and recipes/overlays/h100-aks-training.yaml:33 is also >= 1.34, so there is no longer a distinct H100 floor to contrast against.

The risk is specific: a future editor reading that rationale could re-lower the A100 floor to restore the baseline, silently regressing the DRA-GA gate this PR establishes.

@@ -2700,6 +2700,13 @@ func TestH100AKSUbuntuTrainingSlurmFloorNotClobbered(t *testing.T) {
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The doc comment on TestH100AKSUbuntuTrainingSlurmFloorNotClobbered (lines 2672-2678) still describes the ancestors as lower-valued — "last-writer-wins merge with lower-valued ancestors (aks-training >= 1.30, h100-aks-ubuntu-training >= 1.32.4)". This PR sets recipes/overlays/aks-training.yaml:32 and recipes/overlays/h100-aks-ubuntu-training.yaml:38 to >= 1.34, and the seven cases added just below assert 1.34 for exactly those ancestors, so the clobber scenario the comment describes no longer exists.

That comment is the only in-repo record of why this guard exists. Leaving the pre-PR floors in it makes the cases beneath look tautological and invites someone removing them.

…re UAT, strengthen test discriminating power
@yuanchen8911

Copy link
Copy Markdown
Contributor

Thanks — this is in good shape; the two-part floor assertion (resolved recipe + the leaf's own restatement) is exactly the guard this family needed.

While verifying the DRA-GA rationale for this review, the same drift turned up on the AKS inference side: aks-inference.yaml sits at >= 1.30 and h100-aks-inference.yaml / h100-aks-ubuntu-inference.yaml at >= 1.32.4, while the dynamo leaf is already correctly at >= 1.34. None of the three disables the inherited DRA component, so the aks.yaml rationale applies to them unchanged. That's now tracked in #1969, deliberately kept out of this PR's training scope.

If you're interested in picking #1969 up as a follow-up after this merges, it's a near-verbatim application of the pattern you built here — three leaf bumps with the # DRA requires Kubernetes 1.34+ (GA) comment, inference cases added to the same regression test, and a fixture sweep. Sequencing note: it extends the same test function, so it should build on this PR once merged rather than run in parallel.

@mohityadav8

Copy link
Copy Markdown
Contributor Author

@yuanchen8911 okay i am working on #1969

constraints:
- name: K8s.server.version
value: ">= 1.30"
value: ">= 1.34"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A nit on the comment treatment across the seven bumped leaves: the DRA rationale comment landed only on a100-aks-training.yaml. aks-training.yaml and h100-aks-training.yaml kept their generic headers, and the four -ubuntu/-kubeflow leaves (like this one) still say "A100/H100 + AKS specific constraints (not covered by mixin)" — no longer accurate now that the value restates the family-wide floor. The family-standard one-liner # DRA requires Kubernetes 1.34+ (GA) on all seven would keep the stated reason attached to the value; comment/value drift is exactly what produced #1772 in the first place.

@yuanchen8911 yuanchen8911 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting one small change before approval: apply the family-standard # DRA requires Kubernetes 1.34+ (GA) comment consistently across all seven bumped leaves — see the inline comment on a100-aks-ubuntu-training.yaml for the specifics. Everything else verified and looks good: the two-part floor assertion has real discriminating power, prior review findings are all addressed, and fixtures are in sync. The inference-side sibling is tracked separately in #1969.

@mohityadav8

Copy link
Copy Markdown
Contributor Author

@yuanchen8911 solved

@mohityadav8
mohityadav8 requested a review from yuanchen8911 July 30, 2026 19:09

@yuanchen8911 yuanchen8911 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the follow-up: the DRA-GA rationale comment is now applied consistently across all seven bumped leaves (the six missing ones replaced their stale/generic headers in 9fe3be8; a100-aks-training keeps the fuller canonical rationale). Comments-only change, no functional drift. Approving; will squash-merge once CI is green.

@yuanchen8911
yuanchen8911 merged commit aa8733f into NVIDIA:main Jul 30, 2026
161 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align AKS training K8s floors with DRA-GA >= 1.34 rationale

3 participants