Skip to content

Commit f07f2ac

Browse files
committed
Update pkgs.k8s.io blog to reflect legacy repos removal
Signed-off-by: Marko Mudrinić <[email protected]>
1 parent 086dabd commit f07f2ac

File tree

1 file changed

+52
-15
lines changed

1 file changed

+52
-15
lines changed

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

Lines changed: 52 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,41 +18,54 @@ 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 (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._**
24+
Check out [the deprecation announcement](/blog/2023/08/31/legacy-package-repository-deprecation/)
25+
for more details about this change.
26+
2127
**ℹ️ Update (January 12, 2024):** the _**legacy Google-hosted repositories are going
2228
away in January 2024.**_
2329
Check out [the deprecation announcement](/blog/2023/08/31/legacy-package-repository-deprecation/)
2430
for more details about this change.
2531

2632
## What you need to know about the new package repositories?
2733

28-
_(updated on January 12, 2024)_
34+
_(updated on January 12, 2024 and March 26, 2024)_
2935

3036
- This is an **opt-in change**; you're required to manually migrate from the
3137
Google-hosted repository to the Kubernetes community-owned repositories.
3238
See [how to migrate](#how-to-migrate) later in this announcement for migration information
3339
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**.
40+
- **The legacy Google-hosted package repositories went away on March 4, 2024. It's not possible
41+
to install Kubernetes packages from the legacy Google-hosted package repositories any longer.**
42+
These repositories have been **deprecated as of August 31, 2023**, and **frozen as of September 13, 2023**.
3643
Check out the [deprecation announcement](/blog/2023/08/31/legacy-package-repository-deprecation/)
3744
for more details about this change.
45+
- ~~**The legacy Google-hosted package repositories are going away in January 2024.** These repositories
46+
have been **deprecated as of August 31, 2023**, and **frozen as of September 13, 2023**.
47+
Check out the [deprecation announcement](/blog/2023/08/31/legacy-package-repository-deprecation/)
48+
for more details about this change.~~
3849
- ~~The existing packages in the legacy repositories will be available for the foreseeable future.
3950
However, the Kubernetes project can't provide any guarantees on how long is that going to be.
4051
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.**
52+
and without a further notice period. **The legacy package repositories are going away in
53+
January 2024.**~~ **The legacy Google-hosted package repositories went away on March 4, 2024.**
4354
- Given that no new releases will be published to the legacy repositories after
4455
the September 13, 2023 cut-off point, you will not be able to upgrade to any patch or minor
4556
release made from that date onwards if you don't migrate to the new Kubernetes package repositories.
4657
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
58+
- **The new Kubernetes package repositories contain packages beginning with those
4859
Kubernetes versions that were still under support when the community took
4960
over the package builds. This means that the new package repositories have Linux packages for all
50-
Kubernetes releases starting with v1.24.0.
61+
Kubernetes releases starting with v1.24.0.**
5162
- Kubernetes does not have official Linux packages available for earlier releases of Kubernetes;
5263
however, your Linux distribution may provide its own packages.
5364
- There's a dedicated package repository for each Kubernetes minor version.
5465
When upgrading to a different minor release, you must bear in mind that
55-
the package repository details also change.
66+
the package repository details also change. Check out
67+
[Changing The Kubernetes Package Repository](/docs/tasks/administer-cluster/kubeadm/change-package-repository/)
68+
guide for information about steps that you need to take upon upgrading the Kubernetes minor version.
5669

5770
## Why are we introducing new package repositories?
5871

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

145158
## Does this in any way affect existing Google-hosted repositories?
146159

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

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.
172+
~~However, as mentioned at the beginning of this blog post, we plan to stop
173+
publishing packages to the Google-hosted repository in the future.~~
154174

155175
## How to migrate to the Kubernetes community-owned repositories? {#how-to-migrate}
156176

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

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._
196+
_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._
177197

178198
3. Update the `apt` package index:
179199

@@ -200,11 +220,28 @@ _Update: In releases older than Debian 12 and Ubuntu 22.04, the folder `/etc/apt
200220
EOF
201221
```
202222
223+
## Where can I get packages for Kubernetes versions prior to v1.24.0?
224+
225+
_(updated on March 26, 2024)_
226+
227+
For Kubernetes v1.24 and onwards, Linux packages of Kubernetes components are available for
228+
download via the official Kubernetes package repositories. Kubernetes does not publish any
229+
software packages for releases of Kubernetes older than v1.24.0; however, your Linux
230+
distribution may provide its own packages. Alternatively, you can directly download binaries
231+
instead of using packages. As an example, see `Without a package manager` instructions in
232+
["Installing kubeadm"](/docs/setup/production-environment/tools/kubeadm/install-kubeadm)
233+
document.
234+
203235
## Can I rollback to the Google-hosted repository after migrating to the Kubernetes repositories?
204236
205-
In general, yes. Just do the same steps as when migrating, but use parameters
237+
_(updated on March 26, 2024)_
238+
239+
**The legacy Google-hosted repositories went away on March 4, 2024 and therefore it's not possible
240+
to rollback to the legacy Google-hosted repositories any longer.**
241+
242+
~~In general, yes. Just do the same steps as when migrating, but use parameters
206243
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).
244+
like ["Installing kubeadm"](/docs/setup/production-environment/tools/kubeadm/install-kubeadm).~~
208245
209246
## Why isn’t there a stable list of domains/IPs? Why can’t I restrict package downloads?
210247

0 commit comments

Comments
 (0)