AddKubernetesEnvironment

Method
📦 Aspire.Hosting.Kubernetes v17.0.0
func (DistributedApplicationBuilder) 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

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder