Repository navigation
[docs] Document container registry images in published Kubernetes charts - #1935
Conversation
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
docs-pr-reviewer report — [partial — phase A: key claims evaluated; phase B: not run (docs site was not served in this automated run)]Recommendation: approve Source used: Phase A — claims
Phase B — doc-testerNot run; rendering of the changed pages is not browser-checked. 🤖 Posted by aspire.dev - squad (AI Agent) |
There was a problem hiding this comment.
🔵 Needs a closer look
The exact Helm output, deferred-registry behavior, and language examples remain unverified because Aspire release/17.0 source is unavailable and dependency/network restrictions prevent runtime checks.
No open issues 🎉
What changed in this PR
Updates the Kubernetes deployment guide to document registry-qualified image values in published Helm charts, reflecting microsoft/aspire#21121.
Changes:
- Adds tabbed C# and TypeScript registry examples with the resulting
values.yaml. - Explains publish-time versus deploy-time image resolution and manual Helm overrides for deferred values.
| File | Description |
|---|---|
src/frontend/src/content/docs/deployment/kubernetes.mdx |
Adds container registry configuration examples and published image resolution guidance. |
Review effort: Balanced
33a4c98
into
release/17.0
…dance (#2042) ## Summary <!-- Describe what this pull request changes and why. --> Consolidate the AKS-specific documentation for Aspire 17.0 into this PR, targeting `release/17.0`. - Document existing AKS clusters, scoping, identity/network prerequisites, private-cluster connectivity, and cleanup behavior: [microsoft/aspire#20921](microsoft/aspire#20921). - Document existing registries, cross-resource-group and cross-subscription references, kubelet `AcrPull`, separate cluster identities, and migration precautions: [microsoft/aspire#20919](microsoft/aspire#20919). - Explain the Standard control-plane tier default, billing and upgrade implications, and working C# and TypeScript Free-tier overrides: [microsoft/aspire#20917](microsoft/aspire#20917). - Document node pool OS SKUs, callback configuration, defaults, and migration risks; correct stale TypeScript calls on both AKS pages: [microsoft/aspire#21118](microsoft/aspire#21118). Supersedes docs PRs #1900 (registry and identities), #1872 (Standard tier), and #1915 (node pool OS SKU). Their relevant content and review feedback are incorporated here. Generic Kubernetes PRs #1935 and #1963 are intentionally excluded and unchanged. The integration reference contains the detailed configuration examples. The deployment guide explains the defaults and upgrade considerations and links to those examples instead of duplicating them. Existing-resource references are explicitly distinguished from reprovisioning an Aspire-managed cluster. ## Third-party links and affiliations <!-- List any third-party links added or changed by this pull request and disclose any material affiliation with the linked organizations, such as employment, sponsorship, or ownership. Write "None" if this pull request doesn't add or change third-party links. --> None. Added external guidance links are first-party Microsoft Learn AKS documentation: pricing tiers, IMDS restrictions, control-plane role assignments, pre-created kubelet identities, and OS SKU migration. ## Validation <!-- List the checks you ran or explain why validation isn't needed. --> - `git diff --check` — passed. - `pnpm --dir src/frontend exec vitest run --config vitest.config.ts tests/unit/twoslash-blocks.vitest.test.ts tests/unit/api-reference.vitest.test.ts tests/unit/seo-lengths.vitest.test.ts tests/unit/apphost-examples.vitest.test.ts` — passed, 66 tests across 4 files. - `npx tsc --project tsconfig.apphost.json --noEmit` — passed in a temporary Aspire 17.0 TypeScript AppHost for both the new-cluster and existing-cluster examples. - `aspire publish --apphost apphost.mts --output-path ./artifacts --non-interactive` — passed in the temporary TypeScript AppHost. Asserted generated Free tier, AzureLinux and Ubuntu OS SKUs, separate user-assigned identities, registry subscription scope, and removal of the default ACR module. - `env 'Parameters__cluster-name=docs-cluster' 'Parameters__cluster-resource-group=docs-cluster-rg' 'Parameters__cluster-subscription=00000000-0000-0000-0000-000000000002' aspire publish --apphost apphost.mts --output-path ./existing-artifacts --non-interactive` — passed. Asserted an existing-cluster reference, no cluster tier/node-pool mutations or replacement identities, and a separate kubelet registry role module. - `aspire publish --apphost apphost.cs --output-path ./artifacts --non-interactive` — passed in a temporary Aspire 17.0 C# AppHost. Asserted the Free-tier and OS SKU outputs. - `aspire start --non-interactive --isolated --apphost src/apphost/Aspire.Dev.AppHost/Aspire.Dev.AppHost.csproj --format Json` and `aspire wait frontend --apphost src/apphost/Aspire.Dev.AppHost/Aspire.Dev.AppHost.csproj --non-interactive` — passed. The isolated preview remains running for live-site review. - Playwright browser checks — both impacted pages render without an Astro error overlay; C#/TypeScript tabs show the new examples; the deployment guide's tier link resolves to the integration section; internal documentation targets exist; all five added Microsoft Learn guidance URLs return HTTP 200. - `pnpm --dir src/frontend exec prettier --check src/content/docs/integrations/cloud/azure/aks/index.mdx src/content/docs/deployment/kubernetes/aks.mdx` — reports formatting differences already present in both base files. Avoided unrelated reformatting, including formatter changes to existing code fences and indentation. Source behavior was checked against `microsoft/aspire` `release/17.0` at `ada71fb1409066a7082f3a80d20a7d848cab15d8`; smoke tests used the installed Aspire 17.0 SDK and generated TypeScript modules. No Azure resources were provisioned or destroyed, no local production site build was run, and no PR was merged. Cloud deployment and in-place cluster migration remain untested. User review of the live preview is the next step.
Documents changes from microsoft/aspire#21121 by
@davidfowl-unknownTarget branch: Targeting
release/17.0based on the source PR milestone17.0(exact_match).Why
The source PR makes
aspire publishwrite registry-qualified image values (for exampleregistry.example.com/apps/api:latest) into published Kubernetes Helm charts. Previously the value wasapi:latest. Resolution of deferred registry inputs happens at deploy time. The docs didn't cover this.Triggered signals:
integration_readme_changed,pr_body_has_user_facing_section,pr_body_has_cli_flag_mention.Changes
Updated an existing page:
src/frontend/src/content/docs/deployment/kubernetes.mdx: added a "Container registries and published images" section with C# and TypeScript examples, the publishedvalues.yamlresult, and publish-time vs deploy-time resolution.