VMware Beta Community
ccalvetbeta
Enthusiast
Enthusiast

Feature request: Select static IP for load balancer.

Hi,
Now, when exposing a service via load balancer from kubernetes it will pick the first IP address available in the first "IP Allocations" with IP available of the associated edge.
It would help in disaster recovery scenario to be able to define which IP will be used.
Similar to: Use static IP with load balancer - Azure Kubernetes Service | Microsoft Docs

Is is already planned to provide such capability in Tanzu CSE?
If yes, when will it be available?
If not, this is a feature request.


0 Kudos
3 Replies
akrishnakuma
VMware Employee
VMware Employee

This will be available as part of CSE4. The `controlPlaneIP` field of the capi yaml can be edited if capvcd is to be used directly. However that will be part of CAPVCD 1.0.0. (The change is in the main branch.)

0 Kudos
ccalvetbeta
Enthusiast
Enthusiast

Thank you for the reply.
However it seems more related to modifying the "management IP" of the cluster.
My question is about the load balancer services used by the applications. 
Create an External Load Balancer | Kubernetes

Goal is to know before redeploying the application in a new cluster what will be the external IP instead of having to identify it after deploying load balancer service in a new cluster. So predictive VS reactive.

0 Kudos
akrishnakuma
VMware Employee
VMware Employee

Thanks @ccalvetbeta  for the clarification. I mistook the loadbalancer use based on the CSE 4.0 context.

You are right. We don't have this feature covered in the CPI component and will need to add it. We plan to use the `loadBalancerIP` field to specify it.

Would you mind creating a ticket for this in bugzilla (using VMware support), or at least in the CLoud provider (https://github.com/vmware/cloud-provider-for-cloud-director)? Else please let us know and we will do it. You could add yourself as a customer there.

0 Kudos