Repository navigation
Default AKS clusters to the Standard control-plane tier - #20917
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: e34dd839-7de2-40bc-874d-e71afeca4844
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20917Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20917" |
|
🚀 Deployment tests starting on PR #20917... This will deploy to real Azure infrastructure. Results will be posted here when complete. |
Tests selector2 / 98 PR test projects · 2 PR jobs, from 6 changed files. Selected PR test projects (2 / 98)
Selected PR jobs (2)
How these were chosen — grouped by what changed🔧 🧪 🧪 🧪 🧪 🧪 Job reasons
Selection computed for commit |
There was a problem hiding this comment.
🟢 Approval recommended
The focused behavior change is accurately documented and covered by default and override snapshots.
0 open findings
What changed in this PR
Defaults Aspire-managed AKS clusters to the Standard control-plane tier while preserving explicit Free-tier overrides.
Changes:
- Changes the AKS Bicep default from Free to Standard.
- Documents pricing, SLA, upgrade implications, and Free-tier configuration.
- Adds regression coverage and updates affected snapshots.
| File | Description |
|---|---|
src/Aspire.Hosting.Azure.Kubernetes/AzureKubernetesEnvironmentExtensions.cs |
Sets and documents the Standard default. |
src/Aspire.Hosting.Azure.Kubernetes/README.md |
Documents tier behavior and override guidance. |
tests/Aspire.Hosting.Azure.Kubernetes.Tests/AzureKubernetesEnvironmentExtensionsTests.cs |
Tests explicit Free-tier selection. |
tests/...BasicConfiguration.verified.bicep |
Updates default-tier snapshot. |
tests/...WithSystemNodePool_BicepReflectsCustomVmSize.verified.bicep |
Updates node-pool snapshot. |
tests/...AddLoadBalancer_BicepEnablesIngressProfileAndUsesPreviewApi.verified.bicep |
Updates load-balancer snapshot. |
tests/...ConfigureInfrastructureCanSelectFreeTier.verified.bicep |
Verifies the Free override output. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Adds a Cluster tier section to both the AKS hosting integration reference and the Deploy to AKS guide, describing the new Standard default, its uptime SLA and cluster-management charge, and how to opt back into the Free tier via ConfigureInfrastructure. Documents changes from microsoft/aspire#20917. Co-authored-by: Copilot <[email protected]>
|
Pull request created: #1872
|
|
📝 Documentation has been drafted in microsoft/aspire.dev#1872 targeting Triggered signals: Note This draft PR needs human review before merging. |
Description
Use the Standard control-plane tier by default for Aspire-managed AKS clusters, providing an uptime SLA appropriate for production workloads as the integration moves toward general availability. This replaces the Free default without changing the Base SKU, node VM sizes, node counts, or Kubernetes version. Package preview status is unchanged.
Applying updated infrastructure to an existing Aspire-managed cluster can update its tier to Standard and introduce a cluster-management charge. Upgrading the package alone does not modify a deployed cluster. Explicit
ConfigureInfrastructureoverrides remain supported. Documentation links to current Azure tier information without embedding dollar rates.Updates the generated-Bicep snapshots and adds a snapshot regression test for explicitly selecting Free.
User-facing usage
Existing AppHost code now generates
sku: { name: 'Base', tier: 'Standard' }:A C# AppHost can retain Free for development or testing:
Validation
./restore.sh— passed.dotnet test --project tests/Aspire.Hosting.Azure.Kubernetes.Tests/Aspire.Hosting.Azure.Kubernetes.Tests.csproj --no-launch-profile -- --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true"— passed, 111 tests. Reviewed the three default-tier snapshot changes and the new Free-override snapshot.git diff --check— passed.gh workflow run deployment-tests.yml --repo microsoft/aspire --ref mitchdenny-aks-standard-default -f pr_number=20917 -f test_filter=Aks— passed; all 12 AKS deployment scenario jobs succeeded against commit630b8fe3412402d9be16e0066d999de70d06e062.Fixes #17715
Checklist
<remarks />and<code />elements on your triple slash comments?