From 3acf178f74dd95cdfcc3cb23a5054367f4e1e72a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mudrini=C4=87?= Date: Fri, 13 Oct 2023 13:14:44 +0200 Subject: [PATCH] Update install/upgrade guides to clarify that legacy repos are frozen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marko Mudrinić --- .../tools/kubeadm/install-kubeadm.md | 11 ++--------- .../kubeadm/change-package-repository.md | 2 ++ .../administer-cluster/kubeadm/kubeadm-upgrade.md | 2 ++ .../kubeadm/upgrading-linux-nodes.md | 2 ++ 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md b/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md index 505c6993bf71a..27635370d2352 100644 --- a/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md +++ b/content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md @@ -163,19 +163,12 @@ For more information on version skews, see: * Kubernetes [version and version-skew policy](/docs/setup/release/version-skew-policy/) * Kubeadm-specific [version skew policy](/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/#version-skew-policy) -{{< note >}} -Kubernetes has [new package repositories hosted at `pkgs.k8s.io`](/blog/2023/08/15/pkgs-k8s-io-introduction/) -starting from August 2023. The legacy package repositories (`apt.kubernetes.io` and `yum.kubernetes.io`) -have been frozen starting from September 13, 2023. Please read our -[deprecation and freezing announcement](/blog/2023/08/31/legacy-package-repository-deprecation/) -for more details. -{{< /note >}} +{{% legacy-repos-deprecation %}} {{< note >}} There's a dedicated package repository for each Kubernetes minor version. If you want to install a minor version other than {{< skew currentVersion >}}, please see the installation guide for -your desired minor version. The official Kubernetes package repositories provide downloads for -Kubernetes versions starting with v1.24.0. +your desired minor version. {{< /note >}} {{< tabs name="k8s_install" >}} diff --git a/content/en/docs/tasks/administer-cluster/kubeadm/change-package-repository.md b/content/en/docs/tasks/administer-cluster/kubeadm/change-package-repository.md index 07361c6a077ec..02f68e91fa3f5 100644 --- a/content/en/docs/tasks/administer-cluster/kubeadm/change-package-repository.md +++ b/content/en/docs/tasks/administer-cluster/kubeadm/change-package-repository.md @@ -19,6 +19,8 @@ package repositories (`pkgs.k8s.io`). If that's not the case, it's strongly recommended to migrate to the community-owned package repositories as described in the [official announcement](/blog/2023/08/15/pkgs-k8s-io-introduction/). +{{% legacy-repos-deprecation %}} + ### Verifying if the Kubernetes package repositories are used If you're unsure whether you're using the community-owned package repositories or the diff --git a/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade.md b/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade.md index 543b2d678923e..12e7298a30ad9 100644 --- a/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade.md +++ b/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade.md @@ -59,6 +59,8 @@ enable the package repository for the desired Kubernetes minor release. This is [Changing the Kubernetes package repository](/docs/tasks/administer-cluster/kubeadm/change-package-repository/) document. +{{% legacy-repos-deprecation %}} + ## Determine which version to upgrade to Find the latest patch release for Kubernetes {{< skew currentVersion >}} using the OS package manager: diff --git a/content/en/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes.md b/content/en/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes.md index e5fc0a120d1b3..7fd2738ca5102 100644 --- a/content/en/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes.md +++ b/content/en/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes.md @@ -24,6 +24,8 @@ enable the package repository for the desired Kubernetes minor release. This is [Changing the Kubernetes package repository](/docs/tasks/administer-cluster/kubeadm/change-package-repository/) document. +{{% legacy-repos-deprecation %}} + ## Upgrading worker nodes ### Upgrade kubeadm