Okteto Self Hosted - Helm installation fails

Facing this error when installing okteto with helm charts. This k8s cluster already has nginx working as the ingress controller serving apps. The current ingress class used is “nginx”

Please help.

Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: IngressClass “nginx” in namespace “” exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key “meta.helm.sh/release-name” must equal “okteto”: current value is “ingress-nginx”; annotation validation error: key “meta.helm.sh/release-namespace” must equal “okteto”: current value is “nginx-ingress”

Hi @tuxomaster ,

Which version of Okteto Self-Hosted are you installing?


By default, Okteto installs NGINX and it sets an IngressClass. We recommend installing Okteto in a cluster without other Ingress Controllers so it’s easier.

But if you already have an NGINX Ingress pre-installed in your cluster, you can use the configuration in your Helm values file to make Okteto use a different IngressClass:

  class: okteto-nginx
  oktetoIngressClass: okteto-nginx

    ingressClass: okteto-nginx
      name: okteto-nginx
      enabled: true
      default: false
      controllerValue: "k8s.io/nginx-test"