traefik-migration-tool
traefik-migration-tool copied to clipboard
A migration tool from Traefik v1 to Traefik v2
trafficstars
traefik-migration-tool
A migration tool from Traefik v1 to Traefik v2.
Features:
- ⛵ Migrate 'Ingress' to Traefik 'IngressRoute' resources.
- 🔒 Migrate acme.json file from Traefik v1 to Traefik v2.
- 🖹 Migrate the static configuration contained in the file
traefik.tomlto a Traefik v2 file.
Usage
- Commands documentation
Install
From Binaries
You can use pre-compiled binaries:
- To get the binary just download the latest release for your OS/Arch from the releases page
- Unzip the archive.
- Add
traefik-migration-toolin yourPATH.
With Docker
You can use a Docker image:
docker run --rm -w /data -v ${PWD}:/data traefik/traefik-migration-tool <options here>
Limits
Unsupported annotations:
ingress.kubernetes.io/preserve-hostingress.kubernetes.io/session-cookie-nameingress.kubernetes.io/affinityingress.kubernetes.io/bufferingingress.kubernetes.io/circuit-breaker-expressioningress.kubernetes.io/max-conn-amountingress.kubernetes.io/max-conn-extractor-funcingress.kubernetes.io/responseforwarding-flushintervalingress.kubernetes.io/load-balancer-methodingress.kubernetes.io/auth-realmingress.kubernetes.io/service-weightsingress.kubernetes.io/error-pages