Share via


ServiceSpecV1.ClusterIp Property

Definition

Specifies the IP address assigned to the Kubernetes Service within the cluster.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The ClusterIP is used internally within the Kubernetes cluster to allow services to communicate with each other. If set to "None", the service will not be assigned a ClusterIP and will act as a headless service, suitable for direct pod communication. This property may be null when the cluster IP is not explicitly specified.

Applies to