Skip to content
Docs Try Aspire
Docs Try

KubernetesIngressResource Properties

Class Properties 2 members
Represents a Kubernetes Ingress as a first-class resource in the Aspire application model. An Ingress defines HTTP routing rules that direct external traffic to services in the cluster.
IngressClassName Section titled IngressClassName nullable ReferenceExpression?
Gets or sets the Kubernetes ingress class name that selects which ingress controller will handle this ingress resource.
public ReferenceExpression? IngressClassName { get; set; }
Common values include "nginx", "traefik", "azure-alb-external" (for AKS with AGC), or controller-specific class names. If not set, the cluster's default ingress class is used.
Gets the parent Kubernetes environment resource.
public KubernetesEnvironmentResource Parent { get; }