Skip to content

Hide inner Kubernetes environment for AKS - #16499

Merged
Eric Erhardt (eerhardt) merged 4 commits into
microsoft:mainfrom
eerhardt:RefactorAKS_BeforeStartPipeline
Apr 28, 2026
Merged

Eric Erhardt (eerhardt) merged 4 commits into
microsoft:mainfrom
eerhardt:RefactorAKS_BeforeStartPipeline

Conversation

@eerhardt

@eerhardt Eric Erhardt (eerhardt) commented Apr 28, 2026 •

Copy link
Copy Markdown
Member

Description

Keep the KubernetesEnvironmentResource used by AKS as an implementation detail instead of adding it to the application model. Delegate Kubernetes pipeline steps through the AKS environment resource and ensure deployment target annotations point at AKS.

This is needed so we can validation that when you have multiple compute environments, that compute resources are explicitly assigned to an evironment. See #16411

Add tests for the single visible compute environment, AKS deployment targets, and delegated Kubernetes pipeline steps.

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
    • No
  • Does the change make any security assumptions or guarantees?
    • No
  • Does the change require an update in our Aspire docs?
    • No

@github-actions

github-actions Bot commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 16499

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 16499"

@eerhardt

Copy link
Copy Markdown
Member Author

/deployment-test

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Deployment tests starting on PR #16499...

This will deploy to real Azure infrastructure. Results will be posted here when complete.

View workflow run

@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 01:00 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing April 28, 2026 16:17 Inactive
@github-actions
github-actions Bot had a problem deploying to deployment-testing April 28, 2026 16:17 Failure
@github-actions

Copy link
Copy Markdown
Contributor

❌ Deployment E2E Tests failed — 31 passed, 1 failed, 0 cancelled

View test results and recordings

View workflow run

Test Result Recording
Deployment.EndToEnd-VnetSqlServerConnectivityDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-FrontDoorDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AzureServiceBusDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-VnetKeyVaultInfraDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AcaCompactNamingDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-TypeScriptExpressDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-VnetSqlServerInfraDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-TypeScriptVnetSqlServerInfraDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AzureLogAnalyticsDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-VnetKeyVaultConnectivityDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AppServiceReactDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-NspStorageKeyVaultDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AzureAppConfigDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AzureStorageDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AuthenticationTests ✅ Passed
Deployment.EndToEnd-AksWithAzureResourcesDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksVnetWithAzureResourcesDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksBlazorRedisDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AzureEventHubsDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AzureContainerRegistryDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AcaExistingRegistryDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AzureKeyVaultDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksStarterDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksVnetInfraDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-VnetStorageBlobConnectivityDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AcaStarterDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksMultipleNodePoolsDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AcaCustomRegistryDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksStarterWithRedisHelmDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AcaDeploymentErrorOutputTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-VnetStorageBlobInfraDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AcaManagedRedisDeploymentTests ❌ Failed ▶️ View Recording

@eerhardt
Eric Erhardt (eerhardt) enabled auto-merge (squash) April 28, 2026 18:03
@eerhardt
Eric Erhardt (eerhardt) merged commit 9815f7e into microsoft:main Apr 28, 2026
285 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants