Refresh Kubernetes version information #797

Merged
ryanlerch merged 1 commit from k8 into main 2025-01-09 09:20:01 +00:00
4 changed files with 31 additions and 7 deletions
Showing only changes of commit b9b6da793d - Show all commits

View file

@ -134,17 +134,41 @@ Note: If using cri-o, verify that the major:minor version of cri-o is the same a
sudo dnf install cri-o containernetworking-plugins
----
. Check for available Kubernetes versions.
If uncertain about what versions of Kubernetes are currently available in Fedora 41 or newer the following command may be useful.
In the example below, Kubernetes 1.29, 1.30, 1.31, and 1.32 versioned rpms are available in Fedora 41.
Current information on supported releases and end-of-life dates can be found on the link:https://kubernetes.io/releases/[Release History] page maintained by the Kubernetes team.
+
[source,bash]
----
sudo dnf list kubernetes1.??
----
+
Output will look like:
+
[source]
----
> sudo dnf list kubernetes1.??
Updating and loading repositories:
Repositories loaded.
Available packages
kubernetes1.29.x86_64 1.29.11-2.fc41 updates
kubernetes1.30.x86_64 1.30.7-1.fc41 updates
kubernetes1.31.x86_64 1.31.3-1.fc41 updates
kubernetes1.32.x86_64 1.32.0-1.fc41 updates
----
. Install Kubernetes.
In this example, all three Kubernetes applications (`kubectl`, `kubelet`, and `kubeadm`) are installed on this single node machine.
Please see the notes above on recommended packages for control plane or worker nodes if the cluster will have both types of machines.
+
[source,bash]
----
# Fedora 39 and earlier use:
sudo dnf install kubernetes-client kubernetes-node kubernetes-kubeadm
# Fedora 40 and later use:
# Fedora 40 use:
sudo dnf install kubernetes kubernetes-kubeadm kubernetes-client
# Fedora 41 and later use (using Kubernetes 1.31 as example):
sudo dnf install kubernetes1.31 kubernetes1.31-kubeadm kubernetes1.31-client
----
. Start and enable cri-o.

View file

@ -13,7 +13,7 @@ include::partial$3rdparty-message.adoc[]
[[sect-overview]]
== Overview
Non-versioned Kubernetes RPMS are the standard rpm format for Kubernetes through Fedora 40. Fedora 41 (currently rawhide) contains both versioned and non-versioned rpms.
Non-versioned Kubernetes RPMS are the standard rpm format for Kubernetes through Fedora 40. Fedora 41 contains both versioned and non-versioned rpms.
[[sect-kubernetes-rpms]]
== Non-versioned Kubernetes rpms in Fedora

View file

@ -20,7 +20,7 @@ The differing release cadences for Fedora (a new release every 6 months) and Kub
Neither option provided a good user experience for Fedora users.
Versioned rpms solve these problems by providing all supported Kubernetes versions on each Fedora release (subject to a Golang constraint - see below).
Fedora 41 (currently rawhide) has rpms for Kubernetes 1.31, Kubernetes 1.30, Kubernetes 1.29, and Kubernetes 1.28.
Fedora 41 has rpms for Kubernetes 1.31, Kubernetes 1.30, Kubernetes 1.29, and Kubernetes 1.28.
These rpms will be named, respectively, kubernetes1.31, kubernetes1.30, kubernetes1.29, and kubernetes1.28.
Since these rpms have different names, the Fedora package manager, rpm, identifies them as different applications, not as different versions of the same application.
Because of this difference, versioned rpms require changes to the normal package update process is be documented below.

View file

@ -15,7 +15,7 @@ include::partial$3rdparty-message.adoc[]
This guide provides useful information about link:https://kubernetes.io[Kubernetes] and the Kubernetes rpms available from Fedora.
Starting with Fedora 41 (currently rawhide) the packaging standard for Kubernetes changed from one version of Kubernetes for each Fedora release (_non-versioned_ rpms) to all versions of Kubernetes available for each release of Fedora (_versioned_ rpms - with availability subject to a link:https://go.dev[Golang] language constraint).
Starting with Fedora 41 the packaging standard for Kubernetes changed from one version of Kubernetes for each Fedora release (_non-versioned_ rpms) to all versions of Kubernetes available for each release of Fedora (_versioned_ rpms - with availability subject to a link:https://go.dev[Golang] language constraint).
These changes are documented here, including what changed, and how installation of these rpms has been affected.
A short guide on creating a Kubernetes cluster using ```kubeadm``` is included, as a short introduction to Kubernetes for those new to this technology stack.