kubernetes-mastery icon indicating copy to clipboard operation
kubernetes-mastery copied to clipboard

traefik LB gets an error

Open BretFisher opened this issue 1 year ago • 0 comments

Original report:

I reset microk8s in order to fully remove all configurations from kubernetes, after reset it, I run: k apply -f ic-traefik-lb.yaml and get this error The IngressClass "cluster-wide-ingress" is invalid: spec.controller: Invalid value: "traefik.io/ingress-controller": field is immutable I found this https://github.com/traefik/traefik/issues/7896 I change the metadata -> name: cluster-wide-ingress to traefik-external and apply again and it works.

Original Q&A

BretFisher avatar Mar 30 '23 00:03 BretFisher