Use pre-provisioned load ballancer for ingress


I am deploying our infrastructure into DO k8s. However, especially on testing environment, when we change our services relatively frequently, we are fighting with DO load balancers. For example, when I uninstall our Helm chart based app and reinstall it, the old load balancer used by ngix-ingress is left unused and new one is provisioned.

Then I must manually delete old LB and set DNS records to new LB. And next time again. Is there any way to make load ballancers reusable and to tell ingress controller, that I want to use this already existing load ballancer?




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.

This is not currently possible.

As per the annotations available as mentioned in the above link, DigitalOcean currently doesn’t allow us to mention loadbalancer identifier to select a pre-provisioned loadbalancer.

You may raise a feature request by adding an issue in the below repo