Hello, could anybody help with the steps to migrat...
# general
d
Hello, could anybody help with the steps to migrate a Rancher Server on RKE2 (Local Cluster) Rancher Ingress resource from ingress-nginx to Traefik? There was previously a pubic SUSE article, "guide for migrating the Rancher Ingress to Traefik in an RKE2 cluster" but it has recently been moved behind login. There is a RKE2 guide, but it doesn't cover any Rancher Server specifics. https://docs.rke2.io/reference/ingress_migration
b
That doc seems really straight forward. What part are you stuck on?
Sounds like you upgrade a cluster to kube 1.36 in "dual mode", make sure your ingresses all check out, then upgrade again to 1.37 with just Traefik.
(or 1.36)
d
Thanks for your replies. We're on Rancher (Server) 2.14.1 currently, there isn't support for RKE2 1.36 yet and since ingress-nginx is already EOL, was expecting to do this on 1.35. The Rancher Ingress resource is created and managed by Helm (rancher-stable/rancher chart). From memory the guide that was previously public included steps to run helm upgrade in order to migrate the ingress resource. I have previously migrated Ingress resources in downstream clusters by updating ingressClassName to traefik but not with the Rancher local cluster where there is a risk of losing access to the Rancher WebUI and disconnecting all the downstream clusters. I do expect this can be recovered with kubectl modifications but I thought there was Rancher specific steps.
b
Yeah for the local cluster, I think you're just going to want to follow the doc you originally posted.
d
Thanks, I've successfully migrated the local cluster hosting Rancher to Traefik in a test environment with the following additional helm --set for Rancher:
helm upgrade rancher rancher-stable/rancher \
--set ingress.ingressClassName=traefik
# other --set values