1

I deployed one ingress controller in a namespace by running the command:

helm install nginx-ingress ingress-nginx/ingress-nginx \
    --namespace kk \
    --set controller.replicaCount=2 \
    --set controller.nodeSelector."beta\.kubernetes\.io/os"=linux \
    --set defaultBackend.nodeSelector."beta\.kubernetes\.io/os"=linux

When I run the same command in another namespace I get the below error:

Error: Failed to download "ingress-nginx/ingress-nginx" (hint: running `helm repo update` may help)

I am pretty sure we can install multiple ingress controller in one Kubernetes cluster but I am unable to resolve this issue.

Harsh Manvar
  • 27,020
  • 6
  • 48
  • 102
notageek27
  • 101
  • 1
  • 6

2 Answers2

1

It's all about your internet connection. I've had the same problem. Try using the specific version; that may help:

helm install ingress-nginx ingress-nginx/ingress-nginx --version 3.7.1 --debug 
Jeremy Caney
  • 7,102
  • 69
  • 48
  • 77
0

I faced the same problem. Following the hint by typing the command helm repo update solved the problem for me.

Reddragio
  • 38
  • 4