Search code examples
kuberneteskubernetes-helm

Ingress-Controller Deployment is failing


I am trying to deploy ingress-controller in GKE - K8S cluster where RBAC is enabled, but I am getting below error.

W

This is the command I ran ...

helm install --name nginx-ingress stable/nginx-ingress --set rbac.create=true --set controller.publishService.enabled=true

it gave me below error
Error: validation failed: [serviceaccounts "nginx-ingress" not found, serviceaccounts "nginx-ingress-backend" not found, clusterroles.rbac.authorization.k8s.io "nginx-ingress" not found, clusterrolebindings.rbac.authorization.k8s.io "nginx-ingress" not found, roles.rbac.authorization.k8s.io "nginx-ingress" not found, rolebindings.rbac.authorization.k8s.io "nginx-ingress" not found, services "nginx-ingress-controller" not found, services "nginx-ingress-default-backend" not found, deployments.apps "nginx-ingress-controller" not found, deployments.apps "nginx-ingress-default-backend" not found]

I am following this link : https://cloud.google.com/community/tutorials/nginx-ingress-gke

Could you please share your thoughts to debug this issue and also to fix. Thanks in advance.


Solution

  • It is a known issue in Helm 2.16.4: https://github.com/helm/helm/issues/7797

    You can upgrade Helm to 2.16.5 to solve the problem.