By jasonleach
When I put a DO loadbalancer in front of a k8s cluster, does the k8s reverse proxy receive HTTP or HTTPS requests? Or another way, does the loadbalancer unencrypt everything and just forward the equivalent HTTP request back to the proxy or service?
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!
You can actually configure how you would like you DOKS Loadbalancer to behave through the use of service annotations!
All loadbalancers provisioned by kubernetes are managed by the Cloud Controller Manager(CCM) running on the master. Any manual modifications to the LB through the cloud panel will be overwritten by the CCM during its reconciliation process to ensure the LB is configured properly with the state defined by the kubernetes service.
In order to configure your LB you need to use kubernetes service annotations.
For information on how to apply annotations, you can use the command:
kubectl annotate --help
Docs for DO service annotations can be found here: https://www.digitalocean.com/docs/kubernetes/how-to/configure-load-balancers/
Service annotations can also be found on our public github repository:
Regards,
John Kwiatkoski Senior Developer Support Engineer
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.