Question

Load Balancer private IPs or applying firewall rules to Load balancers

Hi all I have newly created K8s cluster , where I want to use to publish micro-services for other droplets in my DO account , I want to expose the K8s service using a load-balancer but only privately to my other DO droplets , and disable all public traffic ,
right now I cannot do that , there is no way to assign private IP only to a DO LB , and there is noway to apply firewall to the DO LB to restrict public IP traffic. please advice if its doable and how to do it.

Subscribe
Share

The feature would be very useful as there is no safe way of exposing e.g. huge database with replication inside the cluster, except for adding loadbalancer. And DO doesn’t allow for huge-disk databases (e.g. max is 1.12TB), so we are kind of blocked here by either disk or exposing our database to internet. Guess we can run nodePort/hostPort but then we have to deal with other problems related to that.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I asked DO support but there currently is no safe way of doing this.

However, DO is “… working on doing something like this with Cloud Firewalls.”

Fingers crossed !!!

I asked DO support but there currently is no safe way of doing this.

However, DO is “… working on doing something like this with Cloud Firewalls.”

Fingers crossed !!!

Dealing with DOKS and VPC is kinda frustrating because of this…

Any updates on this one DO?

Greetings!

Thank you for asking this question here. This is not currently possible as our load balancers are always exposed to the internet. Of course, you can create your own load balancers according to your own rules, just the ones that we provide “as a service” do not currently function this way.

Jarland