Following are steps to install nginx ingress controller using helm.
1) Add the helm repo for nginx ingress controller, in this example helm-ingress-nginx
helm repo add helm-ingress-nginx https://kubernetes.github.io/ingress-nginx
2) Verify and Update the downloaded Nginx ingress controller helm chart
Update the helm repo to make sure you have latest nginx ingress controller helm chart. Following is the command.
helm repo update
List the Helm repositories to make sure you see nginx ingress controller chart. Following is the command.
helm repo list
3) Create a Kubernetes namespace for nginx ingress controller. In this example ingressns
kubectl create namespace ingressns
4) Install nginx ingress controller using helm
helm upgrade --install ingressns helm-ingress-nginx/ingress-nginx --namespace ingressns
5) Verify that the Nginx Ingress Controller pod is up
kubectl get pods -n ingress
No comments:
Post a Comment