apiVersion: v1 kind: ConfigMap metadata: name: nginx-ingress-ingress-nginx-controller namespace: default annotations: service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: “true” data: use-proxy-protocol: ‘true’
what is the cause, has anyone experienced it?
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.
One potential issue could be a conflict between the proxy protocol settings at the Load Balancer level and the NGINX Ingress configuration.
When you specify the annotation service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: “true” in Kubernetes, it should set the proxy protocol at the LB level automatically. But remember, this should match your NGINX Ingress ‘use-proxy-protocol’ settings.
Secondly, a configuration change in your Load Balancer might be overwriting this setting. If you have some script that modifies the Load Balancer settings, it could inadvertently disable the proxy protocol.
Lastly, it could be a bug within the DigitalOcean Kubernetes platform. If none of the above suggestions resolve your problem, it would be worth checking with DigitalOcean Support.
For more information on setting up a Load Balancer and Kubernetes on DigitalOcean, you can refer to this guide.
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
