https://rancher.com/ logo
Title
p

prehistoric-diamond-4224

09/04/2022, 9:00 PM
Hi does Traefik v2 work with
Ingress
resources? I am aware that now there is the new
IngressRoute
, but if i were to upgrade now, would v2 be compatible with all the old Iingress resources already present in the cluster?
q

quick-dentist-45681

09/05/2022, 7:24 AM
AFAIK Traefik v2 does not support
Ingress
, at least it didn't when it was launched. Haven't looked at it lately, so might be they reverted that choice, but going by the "sales pitch" when v2 was launched it seems unlikely.
c

creamy-pencil-82913

09/05/2022, 8:21 AM
yes… of course it supports ingress. It has its problems but it’s the standard resource type used by most projects for compatibility reasons. https://doc.traefik.io/traefik/providers/kubernetes-ingress/
👍 1
p

prehistoric-diamond-4224

09/05/2022, 8:26 AM
Alright, I thought so, thank you very much, then it could be a good idea to change their wording in the migration page, or maybe in the in the k3s docs about the migration that links to it, as everything there made me assume that IngressRoute would be taking the place of Ingress and that I needed to migrate everything
r

refined-toddler-64572

09/06/2022, 3:45 PM
Yes, supports Ingress. And you can still reference Traefik CRDs like middlewares and authentication using annotations on the Ingress.