Skip to content

Commit 7db0d00

Browse files
authored
Merge pull request #45682 from xmudrii/pkgs-k8s-io-update
Update pkgs.k8s.io blog to reflect legacy repos removal
2 parents 086dabd + 5f39413 commit 7db0d00

File tree

1 file changed

+50
-17
lines changed

1 file changed

+50
-17
lines changed

content/en/blog/_posts/2023-08-15-pkgs-k8s-io-introduction.md

Lines changed: 50 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,41 +18,50 @@ This blog post contains information about these new package repositories,
1818
what does it mean to you as an end user, and how to migrate to the new
1919
repositories.
2020

21-
**ℹ️ Update (January 12, 2024):** the _**legacy Google-hosted repositories are going
22-
away in January 2024.**_
21+
**ℹ️ Update (March 26, 2024): _the legacy Google-hosted repositories went
22+
away on March 4, 2024. It's not possible to install Kubernetes packages from
23+
the legacy Google-hosted package repositories any longer._**
2324
Check out [the deprecation announcement](/blog/2023/08/31/legacy-package-repository-deprecation/)
2425
for more details about this change.
2526

27+
2628
## What you need to know about the new package repositories?
2729

28-
_(updated on January 12, 2024)_
30+
_(updated on January 12, 2024 and March 26, 2024)_
2931

3032
- This is an **opt-in change**; you're required to manually migrate from the
3133
Google-hosted repository to the Kubernetes community-owned repositories.
3234
See [how to migrate](#how-to-migrate) later in this announcement for migration information
3335
and instructions.
34-
- **The legacy Google-hosted package repositories are going away in January 2024.** These repositories
35-
have been **deprecated as of August 31, 2023**, and **frozen as of September 13, 2023**.
36+
- **The legacy Google-hosted package repositories went away on March 4, 2024. It's not possible
37+
to install Kubernetes packages from the legacy Google-hosted package repositories any longer.**
38+
These repositories have been **deprecated as of August 31, 2023**, and **frozen as of September 13, 2023**.
3639
Check out the [deprecation announcement](/blog/2023/08/31/legacy-package-repository-deprecation/)
3740
for more details about this change.
41+
- ~~**The legacy Google-hosted package repositories are going away in January 2024.** These repositories
42+
have been **deprecated as of August 31, 2023**, and **frozen as of September 13, 2023**.
43+
Check out the [deprecation announcement](/blog/2023/08/31/legacy-package-repository-deprecation/)
44+
for more details about this change.~~
3845
- ~~The existing packages in the legacy repositories will be available for the foreseeable future.
3946
However, the Kubernetes project can't provide any guarantees on how long is that going to be.
4047
The deprecated legacy repositories, and their contents, might be removed at any time in the future
41-
and without a further notice period.~~ **The legacy package repositories are going away in
42-
January 2024.**
48+
and without a further notice period. **The legacy package repositories are going away in
49+
January 2024.**~~ **The legacy Google-hosted package repositories went away on March 4, 2024.**
4350
- Given that no new releases will be published to the legacy repositories after
4451
the September 13, 2023 cut-off point, you will not be able to upgrade to any patch or minor
4552
release made from that date onwards if you don't migrate to the new Kubernetes package repositories.
4653
That said, we recommend migrating to the new Kubernetes package repositories **as soon as possible**.
47-
- The new Kubernetes package repositories contain packages beginning with those
54+
- **The new Kubernetes package repositories contain packages beginning with those
4855
Kubernetes versions that were still under support when the community took
4956
over the package builds. This means that the new package repositories have Linux packages for all
50-
Kubernetes releases starting with v1.24.0.
57+
Kubernetes releases starting with v1.24.0.**
5158
- Kubernetes does not have official Linux packages available for earlier releases of Kubernetes;
5259
however, your Linux distribution may provide its own packages.
5360
- There's a dedicated package repository for each Kubernetes minor version.
5461
When upgrading to a different minor release, you must bear in mind that
55-
the package repository details also change.
62+
the package repository details also change. Check out
63+
[Changing The Kubernetes Package Repository](/docs/tasks/administer-cluster/kubeadm/change-package-repository/)
64+
guide for information about steps that you need to take upon upgrading the Kubernetes minor version.
5665

5766
## Why are we introducing new package repositories?
5867

@@ -144,13 +153,20 @@ There are three significant differences that you should be aware of:
144153

145154
## Does this in any way affect existing Google-hosted repositories?
146155

147-
The Google-hosted repository and all packages published to it will continue
156+
_(updated on March 26, 2024)_
157+
158+
**The legacy Google-hosted repositories went away on March 4, 2024. It's not possible to
159+
install Kubernetes packages from the legacy Google-hosted package repositories any longer.**
160+
Check out [the deprecation announcement](/blog/2023/08/31/legacy-package-repository-deprecation/)
161+
for more details about this change.
162+
163+
~~The Google-hosted repository and all packages published to it will continue
148164
working in the same way as before. There are no changes in how we build and
149165
publish packages to the Google-hosted repository, all newly-introduced changes
150-
are only affecting packages publish to the community-owned repositories.
166+
are only affecting packages publish to the community-owned repositories.~~
151167

152-
However, as mentioned at the beginning of this blog post, we plan to stop
153-
publishing packages to the Google-hosted repository in the future.
168+
~~However, as mentioned at the beginning of this blog post, we plan to stop
169+
publishing packages to the Google-hosted repository in the future.~~
154170

155171
## How to migrate to the Kubernetes community-owned repositories? {#how-to-migrate}
156172

@@ -173,7 +189,7 @@ publishing packages to the Google-hosted repository in the future.
173189
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
174190
```
175191

176-
_Update: In releases older than Debian 12 and Ubuntu 22.04, the folder `/etc/apt/keyrings` does not exist by default, and it should be created before the curl command._
192+
_Update: In releases older than Debian 12 and Ubuntu 22.04, the folder `/etc/apt/keyrings` does not exist by default, and it should be created before the curl command._
177193

178194
3. Update the `apt` package index:
179195

@@ -200,11 +216,28 @@ _Update: In releases older than Debian 12 and Ubuntu 22.04, the folder `/etc/apt
200216
EOF
201217
```
202218
219+
## Where can I get packages for Kubernetes versions prior to v1.24.0?
220+
221+
_(updated on March 26, 2024)_
222+
223+
For Kubernetes v1.24 and onwards, Linux packages of Kubernetes components are available for
224+
download via the official Kubernetes package repositories. Kubernetes does not publish any
225+
software packages for releases of Kubernetes older than v1.24.0; however, your Linux
226+
distribution may provide its own packages. Alternatively, you can directly download binaries
227+
instead of using packages. As an example, see `Without a package manager` instructions in
228+
["Installing kubeadm"](/docs/setup/production-environment/tools/kubeadm/install-kubeadm)
229+
document.
230+
203231
## Can I rollback to the Google-hosted repository after migrating to the Kubernetes repositories?
204232
205-
In general, yes. Just do the same steps as when migrating, but use parameters
233+
_(updated on March 26, 2024)_
234+
235+
**The legacy Google-hosted repositories went away on March 4, 2024 and therefore it's not possible
236+
to rollback to the legacy Google-hosted repositories any longer.**
237+
238+
~~In general, yes. Just do the same steps as when migrating, but use parameters
206239
for the Google-hosted repository. You can find those parameters in a document
207-
like ["Installing kubeadm"](/docs/setup/production-environment/tools/kubeadm/install-kubeadm).
240+
like ["Installing kubeadm"](/docs/setup/production-environment/tools/kubeadm/install-kubeadm).~~
208241
209242
## Why isn’t there a stable list of domains/IPs? Why can’t I restrict package downloads?
210243

0 commit comments

Comments
 (0)