net8.0
Azure Kubernetes Service (AKS) resource types for Aspire.
Published
May 15, 2026
5mo ago
Total Downloads
4.3K
4,319
Install
dotnet add package Aspire.Hosting.Azure.Kubernetes --version 13.3.3-preview.1.26264.13
| Product | Versions |
|---|---|
| .NET |
README
Aspire.Hosting.Azure.Kubernetes library
Provides extension methods and resource definitions for an Aspire AppHost to configure an Azure Kubernetes Service (AKS) environment.
Getting started
Prerequisites
- An Azure subscription - create one for free
Install the package
In your AppHost project, install the Aspire Azure Kubernetes Hosting library with NuGet:
dotnet add package Aspire.Hosting.Azure.Kubernetes
Usage example
Then, in the AppHost.cs file of AppHost, add an AKS environment and deploy services to it:
var aks = builder.AddAzureKubernetesEnvironment("aks");
var myService = builder.AddProject<Projects.MyService>()
.WithComputeEnvironment(aks);
Additional documentation
Feedback & contributing
Changes from Previous Version
No structural changes between v13.3.2-preview.1.26263.11 and v13.3.3-preview.1.26264.13.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.The published metadata declares 44 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.