PodSpecV1.Hostname Property

Definition

Gets or sets the hostname of the pod. This property specifies the hostname field of the Kubernetes PodSpec configuration. If set, the value will be used as the hostname of the pod, overriding the default hostname which is generally derived from the pod name.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to