Nginx Ingress: service “ingress-nginx-controller-admission” not found

前端 未结 4 714
庸人自扰
庸人自扰 2021-02-03 21:56

We created a kubernetes cluster for a customer about one year ago with two environments; staging and production separated in namespaces. We are currently developing the next ver

4条回答
  •  清歌不尽
    2021-02-03 22:41

    I had the same problem and found a solution from another SO thread.

    I had previously installed nginx-ingress using the manifests. I deleted the namespace it created, and the clusterrole and clusterrolebinding as noted in the documentation, but that does not remove the ValidatingWebhookConfiguration that is installed in the manifests, but NOT when using helm by default. As Arghya noted above, it can be enabled using a helm parameter.

    Once I deleted the ValidatingWebhookConfiguration, my helm installation went flawlessly.

    kubectl delete -A ValidatingWebhookConfiguration ingress-nginx-admission
    

提交回复
热议问题