ServiceSpecV1.LoadBalancerIp 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 IP address to assign to the external LoadBalancer of the Service.
[YamlDotNet.Serialization.YamlMember(Alias="loadBalancerIP")]
public string? LoadBalancerIp { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="loadBalancerIP")>]
member this.LoadBalancerIp : string with get, set
Public Property LoadBalancerIp As String
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
If specified, this explicitly sets the LoadBalancer's IP address. This property is used when deploying a Service with type set to "LoadBalancer" in Kubernetes. The actual usage of this field depends on the cloud provider or environment where the Kubernetes cluster is hosted. If not set, the IP address will be dynamically assigned by the environment.