Installing Ingress

Exposing services to the public and routing was "an exercise left to the reader" when Kubernetes started. With the Ingress object, Kubernetes provides a clean way of securely exposing your services. It provides an SSL endpoint and name-based routing. Let's install the nginx version of the Ingress by performing the following steps:

  1. Type in the following command to begin the installation:
helm install nginx/ingress --set rbac.create=false
  1. Get the exposed IP of the ingress-controller service:
kc get svc | grep ingress-controller
...-ingress-controller LoadBalancer 10.0.119.107 52.175.214.251 80:32533/TCP,443:32382/TCP 2d

You can browse to the web page by entering http://<EXTERNAL-IP> in the browser and it will automatically redirect to the https://<EXTERNAL-IP> secure site, where you will get the security warning.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset