Report this

What is the reason for this report?

How long does it take the CCM to update a managed K8s load balancer?

Posted on January 25, 2022

I was following these instructions (https://docs.digitalocean.com/products/networking/load-balancers/how-to/create/) and found that the load balancer was having a problem due to the PROXY protocol, where it was mangling traffic. There are no instructions I could find on how to set up the droplets to properly receive the proxy protocol traffic, so I instead disabled it. However, my load balancer resources on-cluster don’t seem to update, continuing to have ‘true’ as the value of use-proxy-protocol in the ConfigMap and the service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol in the service. How long should it take for these to be reconciled?



This textbox defaults to using Markdown to format your 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.

Heya,

When you change certain settings in your load balancer configuration, Kubernetes should update these changes relatively immediately. However, propagation can sometimes take a little while due to the nature of distributed systems.

If you find that the changes are not being implemented even after a while, I suggest deleting and recreating the load balancer or the services causing an issue. Be mindful to check and make sure the proxy protocol is disabled when you do so.

For detailed instructions on how to work with load balancers and services in Kubernetes, you can follow the documentation in the provided link.

How to Configure Load Balancers on Kubernetes

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.