Install the nginx ingress controller
Course: Kubernetes Part 2 - chapter 10
Using helm
- Install helm Ref - https://helm.sh/
Installation - https://helm.sh/docs/intro/install/
- Add the
ingress-nginxchart
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginxhelm repo updatehelm 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-nginxDefault loadbalancer service
Section titled “Default loadbalancer service”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-nginxThis means the first part of our ingress deployment is already created
