Skip to content

docs(recipes): record k8s-aibom v1.5.1 rollback and API-server cost - #3002

Merged
mchmarny merged 4 commits into
mainfrom
chore/k8s-aibom-v151-evidence
Sep 30, 2026
Merged

mchmarny merged 4 commits into
mainfrom
chore/k8s-aibom-v151-evidence

Conversation

@mchmarny

@mchmarny mchmarny commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Summary

Records upstream's measured k8s-aibom v1.5.1 evidence (API-server cost, rollback, and the resource envelope at 1,002 workloads) in the component's values, its ADR-021 upgrade record, and the component catalog. Comments and docs only: no rendered output changes.

Motivation / Context

#2976 left three qualification items open on #2962. Upstream measured two of them, API-server cost and rollback, on live GKE (evidence, comment). This replaces the statements that those items were unmeasured. With #2962's scope narrowed to chart-level runs plus one UAT lane, this closes it; the UAT lane opt-in follows separately once v1.0.0 ships (see below).

Fixes #2962
Related: #2976, GoogleCloudPlatform/k8s-aibom#110

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: recipes/components/k8s-aibom/ (comments and upgrade-record evidence only)

Implementation Notes

  • values.yaml: the envelope comment said the 1,001-workload ceiling had only ever been measured on v1.3.0. It now carries the v1.5.1 figures: 48MiB working set (93MiB RSS), 1m CPU, and about one API-server request per minute at steady state, all watch reconnects. 1,001 of the 1,002 workloads were zero-replica Deployments, so this is an idle-inventory envelope. The comment names that shape, and the catalog states that a cluster with running pods and pod churn was not measured.
  • The upstream run used chart defaults, not AICR's values. I diffed the published 1.5.1 chart (digest sha256:a417e059…, the one we pin) against our values.yaml. The only difference is readiness.strictConfig: true, which fails readiness only while the controller config is invalid. The config stayed valid for the whole run, so the figures carry over.
  • upgrades.yaml: rollback determinism is one of the lifecycle gates for a version bump (docs/contributor/upgrade-records.md). The rollback measurement is added to verifiedBy and the evidence doc to references. The verdict stays manual.
  • Evidence links are pinned to upstream commit c08e9ac2 so they cannot drift.

Deliberately not included: opting the GKE H100 training UAT lane into k8s-aibom. The nightly batch also runs the latest stable release against main's UAT config. v0.22.0 predates #2976, so it rejects runtimeInventory.mode: enabled on a recipe that does not declare the component. I confirmed that by running the v0.22.0 binary against the modified config: runtime inventory mode "enabled" requires the recipe to declare component "k8s-aibom". Merging it now would break the gcp-h100 training @ v0.22.0 cell, so that change follows once v1.0.0 ships.

Testing

make qualify
make check-upgrade-records
make bom-docs   # no diff: comment-only values change

make qualify passes (rc=0) on f769cc01 (rebased onto main) in a clean detached worktree: tests with the coverage floor, lint (0 issues), e2e, scan, license-check, api-diff, openapi-diff. make bom-docs leaves docs/user/container-images.md unchanged.

No Go changes, so no coverage delta.

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

Comments, docs, and upgrade-record evidence text only. The verdict and steps are unchanged.

Rollout notes: N/A

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

@mchmarny mchmarny added the theme/recipes Recipe expansion, overlays, mixins, and component registry label Sep 30, 2026
@mchmarny mchmarny self-assigned this Sep 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

Recipe evidence check

Other affected recipes without evidence yet: 2

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.

  • h100-gke-cos-inference-dynamo
  • h100-gke-cos-inference

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

@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Coverage Report ✅

Metric Value
Coverage 85.0%
Threshold 83%
Status Pass
Coverage Badge
![Coverage](https://img.shields.io/badge/coverage-85.0%25-brightgreen)

No Go source files changed in this PR.

…er cost

Signed-off-by: Mark Chmarny <mark@chmarny.com>
@coderabbitai

coderabbitai Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⚙️ Run configuration

Configuration used: Repository: NVIDIA/aicr/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 05231e2c-986b-4fc1-8dd3-3ff409ef852a

📥 Commits

Reviewing files that changed from the base of the PR and between 4cc4254 and 69b2946.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: NVIDIA/aicr/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: c7a9789e-333a-47ba-87fe-ec59ab1d0e72

📥 Commits

Reviewing files that changed from the base of the PR and between 6d5973b and 06ba800.

📒 Files selected for processing (3)
  • docs/user/component-catalog.md
  • recipes/components/k8s-aibom/upgrades.yaml
  • recipes/components/k8s-aibom/values.yaml

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The documentation records v1.5.1 measurements across 1,002 workloads, including a 48 MiB working set and about one API-server request per minute at steady state. It also records rollback readiness times of 17–19 seconds and preservation of AIBOM hashes when v1.5.1 CRDs remain. The remaining uncovered item is the health check’s v1alpha1 assertion.

Priority: ⬇️ Low

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

Change: Other

Suggested reviewers: yuanchen8911

Merge Risk: ⚪ Minimal · up to 06ba8

The supplied changes document v1.5.1 measurements and rollback results. No verified issue prevents merging; confirm the qualification-status wording when the exact catalog passage is available.

🚥 Pre-merge checks | ✅ 3 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The changes add relevant v1.5.1 cost, upgrade, and rollback evidence for #2962. The PR summary also states that the granted H100 training UAT lane is not included and will follow after v0.23.0 ships. … Complete and record the granted H100 Kubeflow training UAT lane with the supported release. Update the qualification evidence with the covered recipe, generated opt-in bundle, and validation result.
✅ Passed checks (3 passed)
Check name Status Explanation
Out of Scope Changes check ✅ Passed The changes are limited to k8s-aibom resource-envelope comments, component-catalog documentation, and the component upgrade record. The added measurements and rollback reference directly support #2962…
Title check ✅ Passed The title clearly and concisely describes the main documentation changes: recording k8s-aibom v1.5.1 rollback evidence and API-server cost.
Description check ✅ Passed The description directly explains the documentation changes, measured evidence, affected files, testing, scope, and deferred UAT opt-in.
Full details: Linked Issues check

Explanation

The changes add relevant v1.5.1 cost, upgrade, and rollback evidence for #2962. The PR summary also states that the granted H100 training UAT lane is not included and will follow after v0.23.0 ships. That lane is an explicit #2962 qualification gate. The reviewed changes therefore do not complete the linked issue's qualification requirements.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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

@mchmarny
mchmarny force-pushed the chore/k8s-aibom-v151-evidence branch from 06ba800 to f769cc0 Compare September 30, 2026 15:54
@mchmarny
mchmarny marked this pull request as ready for review September 30, 2026 16:33
@mchmarny
mchmarny requested review from a team as code owners September 30, 2026 16:33
@mchmarny
mchmarny enabled auto-merge (squash) September 30, 2026 16:34
@mchmarny
mchmarny merged commit 25a725b into main Sep 30, 2026
81 checks passed
@mchmarny
mchmarny deleted the chore/k8s-aibom-v151-evidence branch September 30, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs area/recipes size/S theme/recipes Recipe expansion, overlays, mixins, and component registry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make AI BOM a recipe-level opt-in across all GKE recipes

2 participants