Skip to content

Install the nginx ingress controller

Course: Kubernetes Part 2 - chapter 10

Ref - https://docs.nginx.com/nginx-ingress-controller/installation/installing-nic/installation-with-manifests/

Using helm

Installation - https://helm.sh/docs/intro/install/

  • Add the ingress-nginx chart
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
helm install nginx-ingress ingress-nginx/ingress-nginx --namespace ingress-nginx --create-namespace
  • Check if you have pods running in the
kubectl get pods -n ingress-nginx

You will notice that if you use helm to install the nginx-ingress-controller, it creates a Loadbalancer service for you

kubectl get services --all-namespaces

This routes all the traffic to an nginx pod

kubectl get pods -n ingress-nginx

This means the first part of our ingress deployment is already created