Ability to use Annotations with K8s Ingress

Posted December 8, 2019 1.4k views
DigitalOcean Managed Kubernetes

I’m defining some ingress services in DO K8s and seem to have run into some issues. I attempted to follow this guide here:, 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 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:

1 comment
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!