Using FoundationDB Cluster in Kubernetes with ServiceType=LoadBalancer

Hello FoundationDB community,

I’m running a FoundationDB cluster on Kubernetes using the official FoundationDB operator. Currently, I need to expose the cluster to external clients (outside the K8s cluster), ideally using ServiceType=LoadBalancer. But operator only support ClusterIP.

What way for exposing cluster exists?

If required you could add support for ServiceType=LoadBalancer, but depending on your Kubernetes solution and the size of your FDB cluster this might be pretty expensive and will add additional network hops. If you have control over the Kubernetes cluster, it’s probably easier to implement a solution where the Pod IPs are reachable from the outside of the Kubernetes cluster, some CNI solutions support that.

Thanks, I’m trying to do that now. But I’m having some trouble reconcile it.
The cluster isn’t very large, 20-40 pods. And our infrastructure doesn’t want to reconfigure the network :frowning: