Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

KubernetesIngressResource Properties

ClassProperties2 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.
IngressClassNameSection titled IngressClassNamenullableReferenceExpression?
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; }