This section details the IP address configuration you can specify for an application load balancer.

In Kubernetes Cloud Provider for VMware Cloud Director 1.3.0 and onwards, users can define the IP address of the load balancer through specifying the IP address in the Service object. To learn more about this field, refer to Type LoadBalancer.

When you create a load balancer service in Kubernetes, use the following configuration to specify the load balancer IP address :
apiVersion: v1
kind: Service
metadata:
  name: my-service
spec:
  type: LoadBalancer
  loadBalancerIP: 10.10.10.10
Note:
  • You can also use an internal IP address, for example, 192.168.x.x, for loadBalancerIP.
  • In Kubernetes Cloud Provider for VMware Cloud Director 1.3.0, if the configuration is set to enableVirtualServiceSharedIP: true and oneArm: nil, it is not possible to update the user specifications of the load balancer IP address.