I’m defining some ingress services in DO K8s and seem to have run into some issues. I attempted to follow this guide here: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nginx-ingress-on-digitalocean-kubernetes-using-helm, but due to its use of CRDs not playing nicely with terraform and its total opaqueness in terms of debuggability, I’d prefer to utilize the existing load balancer annotations located here https://www.digitalocean.com/docs/kubernetes/how-to/configure-load-balancers/ to define my certificate to use, since that’s being managed by DO directly (which is my preference).

My only other two options seem to be setting up at least 4 load balancers, one for each of my subdomains which will become expensive very quickly for little reason, or setting up a proxy inside of my k8s cluster to then route the traffic, which also defeats the purpose (IMO) of having a load balancer in the first place.

As an aside, it looks like most of the annotations might work, just not this one: service.beta.kubernetes.io/do-loadbalancer-certificate-id

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!