PodSpecV1.Hostname Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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