Skip to content
Docs Try Aspire

Ingress

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Represents an Ingress resource in Kubernetes (networking.k8s.io/v1).
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class Ingress
: Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource
{
// ...
}
The Ingress class is a sealed implementation of a Kubernetes resource used to expose HTTP and HTTPS routes to services within a cluster. It provides a mechanism to define rules for routing external traffic to specific backends, as well as support for setting TLS configurations, default backends, and ingress class names. Inherits from the BaseKubernetesResource with "networking.k8s.io/v1" as the API version and "Ingress" as its kind.