<p>I'm new to Kubernetes and Docker and I'm having trouble finding if these services offer functionality I'm looking for.</p>

<p>My goal is to host a Node.JS website server inside of a Docker container and have Kubernetes scale that container to match the load to the website and load balance to those containers. This is clearly possible with these technologies.</p>

<p>However, where would I tackle the problem of SSL certificates? Do I do that in Kubernetes? Do I do it in Docker? I'm wanting to redirect HTTP -> HTTPS like normal. I already have SSL certificates that work fine on pm2 without any of these technologies.</p>

<p>Not sure how to move forward, and with Kuburetes and Docker having a decent amount of options to them I don't want to search around and hope I find the right solution.</p>

<p>Can anyone help point me in the right direction?</p>

<p>Thank you!</p>

<p>You can terminate SSL in docker (you integrate your certificates in the docker container itself), in kubernetes (by configuring the <code>ingress controller</code> for instance) or even externally in a load balancer (a component you will need if you want to scale to multiple servers).</p>

<p>About the documentation, both docker and kubernetes have huge amounts of documentation and crowded communities ready to help, plus a good choice of worldwide partner companies that can train or support you if you decide to start.</p>

<p>I suggest starting with the official websites of both projects www.docker.com and kubernetes.io</p>
