<p>My problem is simple. I have an AKS deployment with a LoadBalancer service that needs to use HTTPS with a certificate.</p>

<p>How do I do this?</p>

<p>Everything I'm seeing online involves Ingress and nginx-ingress in particular.</p>

<p>But my deployment is not a website, it's a Dropwizard service with a REST API on one port and an admin service on another port. I don't want to map the ports to a path on port 80, I want to keep the ports as is.  Why is HTTPS tied to ingress?</p>

<p>I just want HTTPS with a certificate and nothing more changed, is there a simple solution to this?</p>

<p>A sidecar container with nginx with the correct certificates (possible loaded off a Secret or a ConfigMap) will do the job without ingress. <a href="https://vorozhko.net/kubernetes-sidecar-pattern-nginx-ssl-proxy-for-nodejs" rel="nofollow noreferrer">This</a> seems to be a good example, using <a href="https://hub.docker.com/r/ployst/nginx-ssl-proxy/" rel="nofollow noreferrer">nginx-ssl-proxy container</a>.</p>
