git clone https://github.com/mateothegreat/k8-byexamples-cert-managercd k8-byexamples-cert-managermake install
git clone https://github.com/mateothegreat/k8-byexamples-ingress-controllercd k8-byexamples-ingress-controllergit submodule update --init
Now we can install the ingress controller and it's resources (RBAC, Deployment, Service) with the following command:
make install LOADBALANCER_IP=22.214.171.124
We need an Ingress Resource which maps our hostname (and/or paths) to a specific service. We will also create a "Certificate Request" Resource which will request an SSL certificate to be issued from LetsEncrypt.org by means of our cert-manager deployed pod.
make issue HOST=<yourdomain.com> SERVICE_NAME=<service> SERVICE_PORT=<port>
Now you will be able to access your service via the hostname and/or LOADBALANCER_IP (above).