Question
How to configure DO Load Balancer via doctl/Kubernetes
I have manually (via web-based Control Panel) set SSL termination and SSL redirect on my Kubernetes’ managed DO Load Balancer (which is managing my SSL cert). Unfortunately whenever there is a patch or I reconfigure nodes, Kubernetes is resetting back to default values. It looks like you can set SSL redirect through configuration ([https://www.digitalocean.com/docs/kubernetes/how-to/configure-load-balancers/](here)) but I don’t see a way to take inbound SSL traffic on the Load Balancer and send it along to the non-SSL port on Kubernetes Droplet. Any thoughts? Any better ways to do this?
Using the following..
https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.26.1/deploy/static/mandatory.yaml
https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.26.1/deploy/static/provider/cloud-generic.yaml
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.
×