From 9060522414175e55d23d7b663ee917bb60681c77 Mon Sep 17 00:00:00 2001 From: Romain Date: Tue, 25 Apr 2023 11:14:05 +0200 Subject: [PATCH] Fix v2.10 migration guide --- docs/content/migration/v2.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/content/migration/v2.md b/docs/content/migration/v2.md index a04271cac..aeebbfce0 100644 --- a/docs/content/migration/v2.md +++ b/docs/content/migration/v2.md @@ -503,8 +503,6 @@ In `v2.9`, Traefik Pilot support has been removed. In `v2.10`, the `namespace` option of the Nomad provider is deprecated, please use the `namespaces` options instead. -## v2.10 - ### Kubernetes CRDs In `v2.10`, the Kubernetes CRDs API Group `traefik.containo.us` is deprecated, and its support will end starting with Traefik v3. Please use the API Group `traefik.io` instead. @@ -514,6 +512,14 @@ it means that for the same kind, namespace and name, the provider will only keep In addition, the Kubernetes CRDs API Version `traefik.io/v1alpha1` will not be supported in Traefik v3 itself. +Please note that it is a requirement to update the CRDs and the RBAC in the cluster before upgrading Traefik. +To do so, please apply the required [CRDs](https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml) and [RBAC](https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml) manifests for v2.10: + +```bash +kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml +kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml +``` + ### Traefik Hub In `v2.10`, Traefik Hub is GA and the `experimental.hub` flag is deprecated.