Share via


IngressRuleV1.Host Property

Definition

Gets or sets the host for the ingress rule in Kubernetes.

[YamlDotNet.Serialization.YamlMember(Alias="host")]
public string Host { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="host")>]
member this.Host : string with get, set
Public Property Host As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The Host property is used to specify the fully qualified ___domain name (FQDN) that is matched for the ingress rule. It helps in routing incoming network traffic based on the host name specified in HTTP requests. If left empty, the ingress rule applies to all incoming traffic irrespective of the host name.

Applies to