Reputation: 119
I have a question. I am trying to install nginx with helm 3 but it is not working when i specify the namespace. Any idea why ? it works without.
helm install nginx-release nginx-stable/nginx-ingres -n ingress-basic
Error: failed to download "nginx-stable/nginx-ingres" (hint: running `helm repo update` may help)
Upvotes: 2
Views: 3358
Reputation: 579
You have to be aware of the helm version you're on: if you're on version 3 run this instead:
$ helm install [RELEASE_NAME] ingress-nginx/ingress-nginx
More details here. Hope this helps.
Upvotes: 0
Reputation: 5950
Your command has a typo, you typed nginx-stable/nginx-ingres
and it should be nginx-stable/nginx-ingress
.
Following the documentation, your are using the right repository for the official NGINX Ingress. To successfully install it using helm you have to run the following commands:
$ helm repo add nginx-stable https://helm.nginx.com/stable
$ helm repo update
To install the chart with the release name my-release (my-release is the name that you choose):
$ helm install my-release nginx-stable/nginx-ingress
In your scenario the command should look like this:
$ helm install nginx-release nginx-stable/nginx-ingress -n ingress-basic
Before running the above command, you have to create the namespace:
kubectl create namespace ingress-basic
Upvotes: 7
Reputation: 630
You are trying to use a wrong stable repo.
Use this
helm install ingress-basic stable/nginx-ingress -n ingress-basic
Upvotes: 2