Skip to content

[docs] Document AKS destroy cleanup ordering fix - #1620

Draft
aspire-repo-bot[bot] wants to merge 1 commit into
release/13.6from
docs/pr-19243-33902845128-1-338ba0da9a839f1c
Draft

[docs] Document AKS destroy cleanup ordering fix#1620
aspire-repo-bot[bot] wants to merge 1 commit into
release/13.6from
docs/pr-19243-33902845128-1-338ba0da9a839f1c

Conversation

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#19243

@sebastienros

Targeting release/13.6 based on the source PR milestone 13.6.

Why

The source PR fixes aspire destroy for AKS deployments so it no longer depends on the caller's ambient kubectl context: it now acquires AKS credentials for the target cluster itself before running Helm cleanup, and orders Helm release removal, opted-in external charts, and cert-manager teardown before the Azure resource group is deleted. The PR body includes a "User-facing usage" section and a --apphost/--environment CLI example, but the AKS docs page had no "Clean up resources" / destroy section at all — only a deploy-time reference to destroy-time uninstall behavior for external charts.

What changed

Added a new Clean up resources section to deployment/kubernetes/aks.mdx (after "Publish AKS artifacts", before "Azure-specific considerations") that:

  • Shows the basic aspire destroy command.
  • Explains that AKS credential acquisition is now independent of the ambient kubeconfig, and that Helm/cert-manager cleanup completes before the resource group is deleted.
  • Reproduces the PR's non-interactive KUBECONFIG=$(mktemp) aspire destroy --apphost ... --environment ... --non-interactive --yes example for CI/CD usage.
  • Cross-references the existing aspire destroy CLI command reference page.

Files modified

  • src/frontend/src/content/docs/deployment/kubernetes/aks.mdx

Generated by PR Documentation Check for #19243 · auto · 63.4 AIC · ⌖ 7.73 AIC · ⊞ 19.7K ·

Documents the new destroy-specific AKS credential acquisition from
microsoft/aspire#19243, which lets 'aspire destroy' tear down AKS
deployments without relying on the caller's ambient kubectl context.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Sep 4, 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 #1620. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1620 artifacts

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

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.

0 participants