Skip to content
Docs Try Aspire

IngressSpecV1

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Represents the specification of an Ingress resource in Kubernetes (networking.k8s.io/v1).
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class IngressSpecV1
{
// ...
}
This class defines the configuration options for an Ingress resource to manage HTTP and HTTPS access to services in a Kubernetes cluster. It includes the ability to set default backends, define rules, specify TLS configurations, and optionally set an ingress class name.
View all constructors
DefaultBackendget; set
Defines the default backend for a Kubernetes ingress resource.
IngressClassNameget; set
string
Specifies the IngressClass associated with the Kubernetes Ingress resource.
Rulesget
Gets the collection of ingress rules associated with the Kubernetes ingress resource.
Tlsget
Represents the TLS configuration for a Kubernetes ingress resource.
View all properties