Introduction

Here, I’ll explain you how to upgrade your Traefik version sitting on a Kubernetes cluster (version 1.23.1) on AWS.

In my case, I was moving from Traefik 2.1 to 2.5, but this could be more or less translated between other versions.

Note: This is the way I performed the migration of Traefik and there are other ways to do it so YMML.

Steps overview

  1. Check 2.4 and 2.5 releases for breaking changes

Reference: https://doc.traefik.io/traefik/migration/v2/#v23-to-v24 Reference: https://doc.traefik.io/traefik/migration/v2/#v24-to-v25

  1. Check helm chart releases for breaking changes
  2. Fix your custom values for all your deployment
  3. Apply CRDs (Remember Helm doesn’t manage CRDs)
  4. Deploy a new release of Traefik with Helm (installing the final Traefik version that we want to move)
  5. Perform your DNS changes pointing to the new ELB (External Load Balancer)
  6. Check your monitoring for new traffic
  7. When you feel comfortable, delete the previous release!