Skip to content
Docs Try Aspire
Docs Try

addAzureKubernetesEnvironment

Method
📦 Aspire.Hosting.Azure.Kubernetes v13.4.0-preview.1.26281.18
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addAzureKubernetesEnvironment(name: string): AzureKubernetesEnvironmentResource;
}

Signature

method addAzureKubernetesEnvironment builder
Adds an Azure Kubernetes Service (AKS) environment to the distributed application. This provisions an AKS cluster and configures it as a Kubernetes compute environment.
addAzureKubernetesEnvironment(name: string): AzureKubernetesEnvironmentResource
name string
AzureKubernetesEnvironmentResource

Applies to

This method applies to the following types: