Share via


Ingress Class

Definition

Represents an Ingress resource in Kubernetes (networking.k8s.io/v1).

[YamlDotNet.Serialization.YamlSerializable]
public sealed class Ingress : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource
[<YamlDotNet.Serialization.YamlSerializable>]
type Ingress = class
    inherit BaseKubernetesResource
Public NotInheritable Class Ingress
Inherits BaseKubernetesResource
Inheritance
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

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.

Constructors

Ingress()

Represents an Ingress resource in Kubernetes (networking.k8s.io/v1).

Properties

ApiVersion

Gets or sets the API version for the Kubernetes resource.

(Inherited from BaseKubernetesObject)
Kind

Gets or sets the kind of the Kubernetes resource.

(Inherited from BaseKubernetesObject)
Metadata

Gets or sets the metadata for the Kubernetes resource.

(Inherited from BaseKubernetesResource)
Spec

Gets or sets the specification of the Ingress resource.

Applies to