Skip to content
A migration tool from Traefik v1 to Traefik v2.
Go Other
  1. Go 98.7%
  2. Other 1.3%
Branch: master
Clone or download
Latest commit c8e30b4 Jan 8, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
acme feat(ingress): support networking apiVersion Sep 29, 2019
docs feat: migrate static configuration contained in traefik.toml Sep 20, 2019
ingress feat: update documentation links. Dec 16, 2019
label feat(ingress): support networking apiVersion Sep 29, 2019
static
.gitignore chore: traefik-migration to traefik-migration-tool Sep 5, 2019
.golangci.toml fix: skip some error logs. Dec 16, 2019
.goreleaser.yml chore: add Travisci. Sep 5, 2019
.travis.yml
Dockerfile Adding a Dockerfile (#8) Nov 19, 2019
LICENSE refactor: code review. Sep 3, 2019
Makefile Adding a Dockerfile (#8) Nov 19, 2019
go.mod chore: update Traefik. Jan 8, 2020
go.sum chore: update Traefik. Jan 8, 2020
main.go
readme.md Adding a Dockerfile (#8) Nov 19, 2019

readme.md

traefik-migration-tool

GitHub release Build Status

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.toml to a Traefik v2 file.

Usage

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-tool in your PATH.

With Docker

You can use a Docker image:

docker run --rm -v ${PWD}:/data containous/traefik-migration-tool <options here>

Limits

Unsupported annotations:

  • ingress.kubernetes.io/preserve-host
  • ingress.kubernetes.io/session-cookie-name
  • ingress.kubernetes.io/affinity
  • ingress.kubernetes.io/buffering
  • ingress.kubernetes.io/circuit-breaker-expression
  • ingress.kubernetes.io/max-conn-amount
  • ingress.kubernetes.io/max-conn-extractor-func
  • ingress.kubernetes.io/responseforwarding-flushinterval
  • ingress.kubernetes.io/load-balancer-method
  • ingress.kubernetes.io/auth-realm
  • ingress.kubernetes.io/service-weights
  • ingress.kubernetes.io/error-pages
You can’t perform that action at this time.