I was trying to install ingress helm charts but found a couple of tutorials but they just insert the different steps without proper explanation, But I want to know what exactly each step means:
kubectl create namespace ingress-nginx helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx helm install ingress-nginx ingress-nginx/ingress-nginx -n ingress-nginx
In a simple words and correct me If I am wrong,
kubectl create namespace ingress-nginx -> this creates a namespace called
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx -> This add a chart repository called ingress-nginx from the URL mentioned (Am I free to name it to something else!?)
helm install ingress-nginx ingress-nginx/ingress-nginx -n ingress-nginx -> install the chart named
ingress-nginx (first one) , in the namespace called
ingress-nginx (last one),
To be honest I can't understand it will, can anyone explains it?
and sometimes I see
helm repo update after adding the chart-repo with
helm repo add (inginx documentation is doing it) and sometimes not , what is the difference? is there any difference?