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 92102a43eabd9..95cc32d2d5b49 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 @@ -157,19 +157,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 diff --git a/data/i18n/en/en.toml b/data/i18n/en/en.toml index 2c34474284788..0d0922bdedf7a 100644 --- a/data/i18n/en/en.toml +++ b/data/i18n/en/en.toml @@ -282,6 +282,14 @@ other = "Thanks for the feedback. If you have a specific, answerable question ab [layouts_docs_search_fetching] other = "Fetching results..." +[legacy_repos_message] +other = """The legacy package repositories (`apt.kubernetes.io` and `yum.kubernetes.io`) have been +[deprecated and frozen starting from September 13, 2023](/blog/2023/08/31/legacy-package-repository-deprecation/). +**Using the [new package repositories hosted at `pkgs.k8s.io`](/blog/2023/08/15/pkgs-k8s-io-introduction/) +is strongly recommended and required in order to install Kubernetes versions released after September 13, 2023.** +The deprecated legacy repositories, and their contents, might be removed at any time in the future and without +a further notice period. The new package repositories provide downloads for Kubernetes versions starting with v1.24.0.""" + [main_by] other = "by" diff --git a/layouts/shortcodes/legacy-repos-deprecation.html b/layouts/shortcodes/legacy-repos-deprecation.html new file mode 100644 index 0000000000000..de15aa865517b --- /dev/null +++ b/layouts/shortcodes/legacy-repos-deprecation.html @@ -0,0 +1,3 @@ +