kubernetes-mastery
kubernetes-mastery copied to clipboard
traefik LB gets an error
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
totraefik-external
and apply again and it works.