Watch Aspire live streamsDocsTry Aspire

addKubernetesEnvironment

Method
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addKubernetesEnvironment(name: string): KubernetesEnvironmentResource;
}

Signature

methodaddKubernetesEnvironmentbuilder
Adds a Kubernetes environment to the application model.
addKubernetesEnvironment(name: string): KubernetesEnvironmentResource
namestring
KubernetesEnvironmentResource

Applies to

This method applies to the following types: