Share via


ServiceSpecV1.ExternalName Property

Definition

Specifies the external DNS name for the Kubernetes Service associated with a ServiceSpecV1.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

This property is used with the "ExternalName" service type in Kubernetes to map a service to an external DNS name rather than an IP or other resources within the cluster.

Applies to