diff --git a/src/frontend/src/content/docs/deployment/kubernetes/aks.mdx b/src/frontend/src/content/docs/deployment/kubernetes/aks.mdx index 57b3a9377..6894a47ea 100644 --- a/src/frontend/src/content/docs/deployment/kubernetes/aks.mdx +++ b/src/frontend/src/content/docs/deployment/kubernetes/aks.mdx @@ -520,6 +520,16 @@ Aspire acquires credentials for the target AKS cluster before running Kubernetes Destroy removes the deployment's Azure resources, including the cluster. Review the selected environment and confirmation prompt before continuing, and back up data you need to retain. ::: +For CI/CD, select the AppHost and environment explicitly and skip the confirmation prompt: + +```bash title="Non-interactive destroy in CI/CD" +aspire destroy \ + --apphost MyApp.AppHost/MyApp.AppHost.csproj \ + --environment my-environment \ + --non-interactive \ + --yes +``` + See the [`aspire destroy` reference](/reference/cli/commands/aspire-destroy/) for AppHost selection and automation options. ## Azure-specific considerations