addIngress

Method
📦 Aspire.Hosting.Azure.Kubernetes v17.0.0
interface AzureKubernetesEnvironmentResource {
// ... omitted for brevity
addIngress(name: string): KubernetesIngressResource;
}

Signature

methodaddIngressbuilder
Adds a Kubernetes Ingress resource to the application model, associated with the inner Kubernetes environment of the specified AKS environment. The ingress generates a `networking.k8s.io/v1 Ingress` resource in the Helm chart output at publish time.
addIngress(name: string): KubernetesIngressResource
namestringThe name of the ingress resource.
KubernetesIngressResource

Applies to

This method applies to the following types: