I have used both links kubernetes in aws.
1) https://ramhiser.com/post/2018-05-20-setting-up-a-kubernetes-cluster-on-aws-in-5-minutes/
But problem is that I need to run app through HTTPS(ssl) protocol
we have docker image in aws ECR.we also have certificate key file and chain file for ssl.how do we configure it with kubernetes? so container will run in https
right now it's running like http://www.example.com .It's should be like https://www.example.com
Process is like
1) push code in github (Done)
2) create docker image (Done)
3) push docker image to aws ECR (Done)
4) pull image from aws ecr and run with kubernetes cluster (Done)
6) work on http protocol on 80 port (done) http://www.example.com
7) bind domain to cluster end point(done)
8) configure SSL (Not done) https://www.example.com
Anybody have suggestions?
To run the application or setup SSL and TLS on kubernetes best practices suggest to use cert-manager
& ingress
.
Ingress works as the gateway and expose the service to the outside world and manage the connection.
While cert-manager
use for manage the SSL certificates for domains. you can follow this guide to setup ingress
and cert-manager
: