Skip to content

[docs] Consolidate AKS cluster, registry, identity, and node pool guidance - #2042

Merged
Mitch Denny (mitchdenny) merged 3 commits into
release/17.0from
docs/pr-20921-41729299283-1-1e4b9f21bf9b01d5
Nov 17, 2026
Merged

Mitch Denny (mitchdenny) merged 3 commits into
release/17.0from
docs/pr-20921-41729299283-1-1e4b9f21bf9b01d5

Conversation

@aspire-repo-bot

@aspire-repo-bot aspire-repo-bot Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

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.
  • Document existing registries, cross-resource-group and cross-subscription references, kubelet AcrPull, separate cluster identities, and migration precautions: 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.
  • Document node pool OS SKUs, callback configuration, defaults, and migration risks; correct stale TypeScript calls on both AKS pages: 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

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

  • 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.

@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Nov 3, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #2042. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #2042 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

Copilot AI 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.

🔵 Needs a closer look

Failed release/17.0 source retrieval and unavailable runtime validation leave resource scoping, identity/RBAC prerequisites, and destructive cleanup behavior requiring human verification.

No open issues 🎉

What changed in this PR

Documents pre-provisioned AKS cluster support in the existing Azure Kubernetes Service integration guide, covering the APIs introduced by microsoft/aspire#20921.

Changes:

  • Adds an existing-cluster example and explains resource-group and subscription scoping.
  • Describes prerequisites, supporting infrastructure, private-cluster connectivity, and the aspire destroy caveat.
File Description
src/​frontend/​src/​content/​docs/​integrations/​cloud/​azure/​aks/​index.mdx Adds guidance for deploying to existing AKS clusters.

Review effort: Balanced

@mitchdenny Mitch Denny (mitchdenny) changed the title [docs] Document existing AKS cluster support [docs] Consolidate AKS cluster, registry, identity, and node pool guidance Nov 17, 2026
@mitchdenny
Mitch Denny (mitchdenny) merged commit 707e134 into release/17.0 Nov 17, 2026
16 checks passed
@mitchdenny
Mitch Denny (mitchdenny) deleted the docs/pr-20921-41729299283-1-1e4b9f21bf9b01d5 branch November 17, 2026 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants