You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Authors**: Bob Killen (Google), Chris Short (AWS), Jeremy Rickard (Microsoft), Marko Mudrinić (Kubermatic), Tim Bannister (The Scale Factory)
9
9
10
-
On August 15, 2023, the Kubernetes project announced the general availability of the community-owned package repositories for Debian and RPM packages available at `pkgs.k8s.io`. The new package repositories are replacement for the legacy Google-hosted package repositories: `apt.kubernetes.io` and `yum.kubernetes.io`. The [announcement blog post for `pkgs.k8s.io`](/blog/2023/08/15/pkgs-k8s-io-introduction/) highlighted that we will stop publishing packages to the legacy repositories in the future.
11
-
12
-
Today, we're formally deprecating the legacy package repositories (`apt.kubernetes.io` and `yum.kubernetes.io`), and we're announcing our plans to freeze the contents of the repositories as of **September 13, 2023**.
13
-
14
-
Please continue reading in order to learn what does this mean for you as an user or distributor, and what steps you may need to take.
10
+
On August 15, 2023, the Kubernetes project announced the general availability of
11
+
the community-owned package repositories for Debian and RPM packages available
12
+
at `pkgs.k8s.io`. The new package repositories are replacement for the legacy
13
+
Google-hosted package repositories: `apt.kubernetes.io` and `yum.kubernetes.io`.
14
+
The
15
+
[announcement blog post for `pkgs.k8s.io`](/blog/2023/08/15/pkgs-k8s-io-introduction/)
16
+
highlighted that we will stop publishing packages to the legacy repositories in
17
+
the future.
18
+
19
+
Today, we're formally deprecating the legacy package repositories (`apt.kubernetes.io`
20
+
and `yum.kubernetes.io`), and we're announcing our plans to freeze the contents of
21
+
the repositories as of **September 13, 2023**.
22
+
23
+
Please continue reading in order to learn what does this mean for you as an user or
24
+
distributor, and what steps you may need to take.
15
25
16
26
## How does this affect me as a Kubernetes end user?
17
27
18
-
This change affects users **directly installing upstream versions of Kubernetes**, either manually by following the official [installation](/docs/setup/production-environment/tools/kubeadm/install-kubeadm/) and [upgrade](/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/) instructions, or by **using a Kubernetes installer** that's using packages provided by the Kubernetes project.
28
+
This change affects users **directly installing upstream versions of Kubernetes**,
29
+
either manually by following the official
30
+
[installation](/docs/setup/production-environment/tools/kubeadm/install-kubeadm/) and
31
+
[upgrade](/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/) instructions, or
32
+
by **using a Kubernetes installer** that's using packages provided by the Kubernetes
33
+
project.
19
34
20
-
**This change also affects you if you run Linux on your own PC and have installed `kubectl` using the legacy package repositories**. We'll explain later on how to [check](#check-if-affected) if you're affected.
35
+
**This change also affects you if you run Linux on your own PC and have installed `kubectl` using the legacy package repositories**.
36
+
We'll explain later on how to [check](#check-if-affected) if you're affected.
21
37
22
-
If you use **fully managed** Kubernetes, for example through a service from a cloud provider, you would only be affected by this change if you also installed `kubectl` on your Linux PC using packages from the legacy repositories. Cloud providers are generally using their own Kubernetes distributions and therefore they don't use packages provided by the Kubernetes project; more importantly,
23
-
if someone else is managing Kubernetes for you, then they would usually take responsibility for that check.
38
+
If you use **fully managed** Kubernetes, for example through a service from a cloud
39
+
provider, you would only be affected by this change if you also installed `kubectl`
40
+
on your Linux PC using packages from the legacy repositories. Cloud providers are
41
+
generally using their own Kubernetes distributions and therefore they don't use
42
+
packages provided by the Kubernetes project; more importantly, if someone else is
43
+
managing Kubernetes for you, then they would usually take responsibility for that check.
24
44
25
-
If you have a managed [control plane](/docs/concepts/overview/components/#control-plane-components) but you are responsible for **managing the nodes yourself**, and any of those nodes run Linux, you should [check](#check-if-affected) whether you are affected.
45
+
If you have a managed [control plane](/docs/concepts/overview/components/#control-plane-components)
46
+
but you are responsible for **managing the nodes yourself**, and any of those nodes run Linux,
47
+
you should [check](#check-if-affected) whether you are affected.
26
48
27
-
If you're managing your clusters on your own by following the official installation and upgrade instructions, please follow the instructions in this blog post to migrate to the (new) community-owned package repositories.
49
+
If you're managing your clusters on your own by following the official installation
50
+
and upgrade instructions, please follow the instructions in this blog post to migrate
51
+
to the (new) community-owned package repositories.
28
52
29
53
30
-
If you're using a Kubernetes installer that's using packages provided by the Kubernetes project, please check the installer tool's communication channels for information about what steps you need to take, and eventually if needed, follow up with maintainers to let them know about this change.
54
+
If you're using a Kubernetes installer that's using packages provided by the
55
+
Kubernetes project, please check the installer tool's communication channels for
56
+
information about what steps you need to take, and eventually if needed, follow up
57
+
with maintainers to let them know about this change.
31
58
32
59
## How does this affect me as a Kubernetes distributor?
33
60
34
-
If you're using the legacy repositories as part of your project (e.g. a Kubernetes installer tool), you should migrate to the community-owned repositories as soon as possible and inform your users about this change and what steps they need to take.
61
+
If you're using the legacy repositories as part of your project (e.g. a Kubernetes
62
+
installer tool), you should migrate to the community-owned repositories as soon as
63
+
possible and inform your users about this change and what steps they need to take.
35
64
36
65
## Timeline of changes
37
66
67
+
<!-- note to maintainers - the trailing whitespace is significant -->
68
+
38
69
-**15th August 2023:**
39
70
Kubernetes announces a new, community-managed source for Linux software packages of Kubernetes components
40
71
-**31st August 2023:**
@@ -45,53 +76,76 @@ If you're using the legacy repositories as part of your project (e.g. a Kubernet
45
76
(`apt.kubernetes.io` and `yum.kubernetes.io`).
46
77
The freeze will happen immediately following the patch releases that are scheduled for September, 2023.
47
78
48
-
The Kubernetes patch releases scheduled for September 2023 (v1.28.2, v1.27.6, v1.26.9, v1.25.14) will have packages published **both** to the community-owned and the legacy repositories.
79
+
The Kubernetes patch releases scheduled for September 2023 (v1.28.2, v1.27.6,
80
+
v1.26.9, v1.25.14) will have packages published **both** to the community-owned and
81
+
the legacy repositories.
49
82
50
-
We'll freeze the legacy repositories after cutting the patch releases for September which means that we'll completely stop publishing packages to the legacy repositories at that point.
83
+
We'll freeze the legacy repositories after cutting the patch releases for September
84
+
which means that we'll completely stop publishing packages to the legacy repositories
85
+
at that point.
51
86
52
-
For the v1.28, v1.27, v1.26, and v1.25 patch releases from October 2023 and onwards, we'll only publish packages to the new package repositories (`pkgs.k8s.io`).
87
+
For the v1.28, v1.27, v1.26, and v1.25 patch releases from October 2023 and onwards,
88
+
we'll only publish packages to the new package repositories (`pkgs.k8s.io`).
53
89
54
90
### What about future minor releases?
55
91
56
-
Kubernetes 1.29 and onwards will have packages published **only** to the community-owned repositories (`pkgs.k8s.io`).
92
+
Kubernetes 1.29 and onwards will have packages published **only** to the
93
+
community-owned repositories (`pkgs.k8s.io`).
57
94
58
95
## Can I continue to use the legacy package repositories?
59
96
60
-
The existing packages in the legacy repositories will be available for the foreseeable future. However, the Kubernetes project can't provide _any_ guarantees on how long is that going to be. The deprecated legacy repositories, and their contents, might be removed at any time in the future and without a further notice period.
97
+
The existing packages in the legacy repositories will be available for the foreseeable
98
+
future. However, the Kubernetes project can't provide _any_ guarantees on how long
99
+
is that going to be. The deprecated legacy repositories, and their contents, might
100
+
be removed at any time in the future and without a further notice period.
61
101
62
-
The Kubernetes project **strongly recommends** migrating to the new community-owned repositories **as soon as possible**.
102
+
The Kubernetes project **strongly recommends** migrating to the new community-owned
103
+
repositories **as soon as possible**.
63
104
64
-
Given that no new releases will be published to the legacy repositories **after the September 13, 2023**, **you will not be able to upgrade to any patch or minor release made from that date onwards.**
105
+
Given that no new releases will be published to the legacy repositories **after the September 13, 2023**
106
+
cut-off point, **you will not be able to upgrade to any patch or minor release made from that date onwards.**
65
107
66
-
Whilst the project makes every effort to release secure software, there may one day be a high-severity vulnerability in Kubernetes, and consequently an important release to upgrade to.
67
-
The advice we're announcing will help you be as prepared
68
-
for any future security update, whether trivial or urgent.
108
+
Whilst the project makes every effort to release secure software, there may one
109
+
day be a high-severity vulnerability in Kubernetes, and consequently an important
110
+
release to upgrade to. The advice we're announcing will help you be as prepared for
111
+
any future security update, whether trivial or urgent.
69
112
70
113
## How can I check if I'm using the legacy repositories? {#check-if-affected}
71
114
72
-
The steps to check if you're using the legacy repositories depend on whether you're using Debian-based distributions (Debian, Ubuntu, and more) or RPM-based distributions (CentOS, RHEL, Rocky Linux, and more) in your cluster.
115
+
The steps to check if you're using the legacy repositories depend on whether you're
116
+
using Debian-based distributions (Debian, Ubuntu, and more) or RPM-based distributions
117
+
(CentOS, RHEL, Rocky Linux, and more) in your cluster.
73
118
74
119
Run these instructions on one of your nodes in the cluster.
75
120
76
121
### Debian-based Linux distributions
77
122
78
-
The repository definitions (sources) are located in `/etc/apt/sources.list` and `/etc/apt/sources.list.d/` on Debian-based distributions. Inspect these two locations and try to locate a package repository definition that looks like:
123
+
The repository definitions (sources) are located in `/etc/apt/sources.list` and `/etc/apt/sources.list.d/`
124
+
on Debian-based distributions. Inspect these two locations and try to locate a
125
+
package repository definition that looks like:
79
126
80
127
```
81
128
deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main
82
129
```
83
130
84
131
**If you find a repository definition that looks like this, you're using the legacy repository and you need to migrate.**
85
132
86
-
If the repository definition uses `pkgs.k8s.io`, you're already using the community-hosted repositories and you don't need to take any action.
133
+
If the repository definition uses `pkgs.k8s.io`, you're already using the
134
+
community-hosted repositories and you don't need to take any action.
87
135
88
-
On most systems, this repository definition should be located in `/etc/apt/sources.list.d/kubernetes.list` (as recommended by the Kubernetes documentation), but on some systems it might be in a different location.
136
+
On most systems, this repository definition should be located in
137
+
`/etc/apt/sources.list.d/kubernetes.list` (as recommended by the Kubernetes
138
+
documentation), but on some systems it might be in a different location.
89
139
90
-
If you can't find a repository definition related to Kubernetes, it's likely that you don't use package managers to install Kubernetes and you don't need to take any action.
140
+
If you can't find a repository definition related to Kubernetes, it's likely that you
141
+
don't use package managers to install Kubernetes and you don't need to take any action.
91
142
92
143
### RPM-based Linux distributions
93
144
94
-
The repository definitions are located in `/etc/yum.repos.d` if you're using the `yum` package manager, or `/etc/dnf/dnf.conf` and `/etc/dnf/repos.d/` if you're using `dnf` package manager. Inspect those locations and try to locate a package repository definition that looks like this:
145
+
The repository definitions are located in `/etc/yum.repos.d` if you're using the
146
+
`yum` package manager, or `/etc/dnf/dnf.conf` and `/etc/dnf/repos.d/` if you're using
147
+
`dnf` package manager. Inspect those locations and try to locate a package repository
**If you find a repository definition that looks like this, you're using the legacy repository and you need to migrate.**
107
161
108
-
If the repository definition uses `pkgs.k8s.io`, you're already using the community-hosted repositories and you don't need to take any action.
162
+
If the repository definition uses `pkgs.k8s.io`, you're already using the
163
+
community-hosted repositories and you don't need to take any action.
109
164
110
-
On most systems, that repository definition should be located in `/etc/yum.repos.d/kubernetes.repo` (as recommended by the Kubernetes documentation), but on some systems it might be in a different location.
165
+
On most systems, that repository definition should be located in `/etc/yum.repos.d/kubernetes.repo`
166
+
(as recommended by the Kubernetes documentation), but on some systems it might be
167
+
in a different location.
111
168
112
-
If you can't find a repository definition related to Kubernetes, it's likely that you don't use package managers to install Kubernetes and you don't need to take any action.
169
+
If you can't find a repository definition related to Kubernetes, it's likely that you
170
+
don't use package managers to install Kubernetes and you don't need to take any action.
113
171
114
172
## How can I migrate to the new community-operated repositories?
115
173
116
-
For more information on how to migrate to the new community managed packages, please refer to the [announcement blog post for `pkgs.k8s.io`](/blog/2023/08/15/pkgs-k8s-io-introduction/).
174
+
For more information on how to migrate to the new community
175
+
managed packages, please refer to the
176
+
[announcement blog post for `pkgs.k8s.io`](/blog/2023/08/15/pkgs-k8s-io-introduction/).
117
177
118
178
## Why is the Kubernetes project making this change?
119
179
120
-
Kubernetes has been publishing packages solely to the Google-hosted repository since Kubernetes v1.5, or the past **seven** years! Following in the footsteps of migrating to our community-managed registry, registry.k8s.io, we are now migrating the Kubernetes package repositories to our own community-managed infrastructure. We’re thankful to Google for their continuous hosting and support all these years, but this transition marks another big milestone for the project’s goal of migrating to complete community-owned infrastructure.
180
+
Kubernetes has been publishing packages solely to the Google-hosted repository
181
+
since Kubernetes v1.5, or the past **seven** years! Following in the footsteps of
182
+
migrating to our community-managed registry, `registry.k8s.io`, we are now migrating the
183
+
Kubernetes package repositories to our own community-managed infrastructure. We’re
184
+
thankful to Google for their continuous hosting and support all these years, but
185
+
this transition marks another big milestone for the project’s goal of migrating
186
+
to complete community-owned infrastructure.
121
187
122
188
## Is there a Kubernetes tool to help me migrate?
123
189
124
-
We don't have any announcement to make about tooling there. As a Kubernetes user, you have to manually modify your configuration to use the new repositories. Automating the migration from the legacy to the community-owned repositories is technically challenging and we want to avoid any potential risks associated with this.
190
+
We don't have any announcement to make about tooling there. As a Kubernetes user, you
191
+
have to manually modify your configuration to use the new repositories. Automating
192
+
the migration from the legacy to the community-owned repositories is technically
193
+
challenging and we want to avoid any potential risks associated with this.
125
194
126
195
## Acknowledgments
127
196
128
-
First of all, we want to acknowledge the contributions from Alphabet. Staff at Google have provided their time; Google as a business has provided both the infrastructure to serve packages, and the security context for giving those packages trustworthy digital signatures.
197
+
First of all, we want to acknowledge the contributions from Alphabet. Staff at Google
198
+
have provided their time; Google as a business has provided both the infrastructure
199
+
to serve packages, and the security context for giving those packages trustworthy
200
+
digital signatures.
129
201
These have been important to the adoption and growth of Kubernetes.
130
202
131
-
Releasing software might not be glamorous but it's important. Many people within the Kubernetes contributor community have contributed to the new way that we, as a project, have for building and publishing packages.
203
+
Releasing software might not be glamorous but it's important. Many people within
204
+
the Kubernetes contributor community have contributed to the new way that we, as a
205
+
project, have for building and publishing packages.
132
206
133
-
And finally, we want to once again acknowledge the help from SUSE. OpenBuildService, from SUSE, is the technology
134
-
that the powers the new community-managed package repositories.
207
+
And finally, we want to once again acknowledge the help from SUSE. OpenBuildService,
208
+
from SUSE, is the technology that the powers the new community-managed package repositories.
0 commit comments