addKubernetesEnvironment

Method
📦 Aspire.Hosting.Kubernetes v17.0.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addKubernetesEnvironment(name: string): KubernetesEnvironmentResource;
}

Signature

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

Applies to

This method applies to the following types: