From 48c25d9ebfe89dedc00f17ef39eced129ebb14a3 Mon Sep 17 00:00:00 2001 From: ChengHao Yang <17496418+tico88612@users.noreply.github.com> Date: Sun, 29 Jun 2025 19:39:23 +0800 Subject: [PATCH 1/6] CI: add calico test for rockylinux 10 Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> --- .gitlab-ci/kubevirt.yml | 1 + tests/files/rockylinux10-calico.yml | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 tests/files/rockylinux10-calico.yml diff --git a/.gitlab-ci/kubevirt.yml b/.gitlab-ci/kubevirt.yml index 0f255ddc3..0bf4dccb2 100644 --- a/.gitlab-ci/kubevirt.yml +++ b/.gitlab-ci/kubevirt.yml @@ -127,6 +127,7 @@ pr_extended: - debian12-docker - debian13-calico - rockylinux9-calico + - rockylinux10-calico - ubuntu22-all-in-one-docker - ubuntu24-all-in-one-docker - ubuntu24-calico-all-in-one diff --git a/tests/files/rockylinux10-calico.yml b/tests/files/rockylinux10-calico.yml new file mode 100644 index 000000000..4178c2896 --- /dev/null +++ b/tests/files/rockylinux10-calico.yml @@ -0,0 +1,10 @@ +--- +# Instance settings +cloud_image: rockylinux-10 +vm_memory: 3072 + +# Kubespray settings +metrics_server_enabled: true +dashboard_namespace: "kube-dashboard" +dashboard_enabled: true +loadbalancer_apiserver_type: haproxy From 061592972795f9596217c1fd85a099c79239a1c7 Mon Sep 17 00:00:00 2001 From: ChengHao Yang <17496418+tico88612@users.noreply.github.com> Date: Wed, 16 Jul 2025 08:25:38 +0800 Subject: [PATCH 2/6] CI: add cilium test for rockylinux 10 Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> --- .gitlab-ci/kubevirt.yml | 1 + tests/files/rockylinux10-cilium | 1 + tests/files/rockylinux10-cilium.yml | 15 +++++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 tests/files/rockylinux10-cilium create mode 100644 tests/files/rockylinux10-cilium.yml diff --git a/.gitlab-ci/kubevirt.yml b/.gitlab-ci/kubevirt.yml index 0bf4dccb2..171bd4183 100644 --- a/.gitlab-ci/kubevirt.yml +++ b/.gitlab-ci/kubevirt.yml @@ -43,6 +43,7 @@ pr: - fedora39-kube-router - openeuler24-calico - rockylinux9-cilium + - rockylinux10-cilium - ubuntu22-calico-all-in-one - ubuntu22-calico-all-in-one-upgrade - ubuntu24-calico-etcd-datastore diff --git a/tests/files/rockylinux10-cilium b/tests/files/rockylinux10-cilium new file mode 100644 index 000000000..3cf4b3d58 --- /dev/null +++ b/tests/files/rockylinux10-cilium @@ -0,0 +1 @@ +RESET_CHECK=true diff --git a/tests/files/rockylinux10-cilium.yml b/tests/files/rockylinux10-cilium.yml new file mode 100644 index 000000000..da4d5ee94 --- /dev/null +++ b/tests/files/rockylinux10-cilium.yml @@ -0,0 +1,15 @@ +--- +# Instance settings +cloud_image: rockylinux-10 +vm_memory: 3072 + +# Kubespray settings +kube_network_plugin: cilium + +cilium_kube_proxy_replacement: true + +kube_owner: root + +# Node Feature Discovery +node_feature_discovery_enabled: true +kube_asymmetric_encryption_algorithm: "ECDSA-P256" From ed270fcab4cf9de3f14385bb6f40b66d783c10f3 Mon Sep 17 00:00:00 2001 From: ChengHao Yang <17496418+tico88612@users.noreply.github.com> Date: Sun, 29 Jun 2025 19:45:29 +0800 Subject: [PATCH 3/6] Docs: update support system RHEL-based variants Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> --- README.md | 8 ++++---- docs/developers/ci.md | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 11d128347..808edcd6c 100644 --- a/README.md +++ b/README.md @@ -89,13 +89,13 @@ vagrant up - **Flatcar Container Linux by Kinvolk** - **Debian** Bookworm, Bullseye, Trixie - **Ubuntu** 22.04, 24.04 -- **CentOS/RHEL** [8, 9](docs/operating_systems/rhel.md#rhel-8) +- **CentOS Stream / RHEL** [9, 10](docs/operating_systems/rhel.md#rhel-8) - **Fedora** 39, 40 - **Fedora CoreOS** (see [fcos Note](docs/operating_systems/fcos.md)) - **openSUSE** Leap 15.x/Tumbleweed -- **Oracle Linux** [8, 9](docs/operating_systems/rhel.md#rhel-8) -- **Alma Linux** [8, 9](docs/operating_systems/rhel.md#rhel-8) -- **Rocky Linux** [8, 9](docs/operating_systems/rhel.md#rhel-8) +- **Oracle Linux** [9, 10](docs/operating_systems/rhel.md#rhel-8) +- **Alma Linux** [9, 10](docs/operating_systems/rhel.md#rhel-8) +- **Rocky Linux** [9, 10](docs/operating_systems/rhel.md#rhel-8) - **Kylin Linux Advanced Server V10** (experimental: see [kylin linux notes](docs/operating_systems/kylinlinux.md)) - **Amazon Linux 2** (experimental: see [amazon linux notes](docs/operating_systems/amazonlinux.md)) - **UOS Linux** (experimental: see [uos linux notes](docs/operating_systems/uoslinux.md)) diff --git a/docs/developers/ci.md b/docs/developers/ci.md index 6a55fb472..c0cfeabe9 100644 --- a/docs/developers/ci.md +++ b/docs/developers/ci.md @@ -15,6 +15,7 @@ fedora39 | :white_check_mark: | :x: | :x: | :x: | :x: | :white_check_mark: | :x fedora40 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | flatcar4081 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | openeuler24 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | +rockylinux10 | :white_check_mark: | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | rockylinux9 | :white_check_mark: | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | ubuntu20 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | ubuntu22 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | @@ -33,6 +34,7 @@ fedora39 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | fedora40 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | flatcar4081 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | openeuler24 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | +rockylinux10 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | rockylinux9 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | ubuntu20 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | ubuntu22 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | @@ -51,6 +53,7 @@ fedora39 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | fedora40 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | flatcar4081 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | openeuler24 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | +rockylinux10 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | rockylinux9 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | ubuntu20 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | ubuntu22 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | From 9c511069cc0d630b2ff6e779d377e0edc939ce36 Mon Sep 17 00:00:00 2001 From: ChengHao Yang <17496418+tico88612@users.noreply.github.com> Date: Fri, 2 Jan 2026 22:15:06 +0800 Subject: [PATCH 4/6] CI: change rockylinux 10 image with kernel-module-extra How to build RockyLinux 10 + `kernel-module-extra` with dib https://github.com/kubernetes-sigs/kubespray/pull/12355#issuecomment-3705400093 Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> --- tests/files/rockylinux10-calico.yml | 2 +- tests/files/rockylinux10-cilium.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/files/rockylinux10-calico.yml b/tests/files/rockylinux10-calico.yml index 4178c2896..781e5d0fe 100644 --- a/tests/files/rockylinux10-calico.yml +++ b/tests/files/rockylinux10-calico.yml @@ -1,6 +1,6 @@ --- # Instance settings -cloud_image: rockylinux-10 +cloud_image: rockylinux-10-extra vm_memory: 3072 # Kubespray settings diff --git a/tests/files/rockylinux10-cilium.yml b/tests/files/rockylinux10-cilium.yml index da4d5ee94..afead2a9c 100644 --- a/tests/files/rockylinux10-cilium.yml +++ b/tests/files/rockylinux10-cilium.yml @@ -1,6 +1,6 @@ --- # Instance settings -cloud_image: rockylinux-10 +cloud_image: rockylinux-10-extra vm_memory: 3072 # Kubespray settings From ad522d4aabc76e25d9fc455bc687087ff3d3afb0 Mon Sep 17 00:00:00 2001 From: ChengHao Yang <17496418+tico88612@users.noreply.github.com> Date: Sat, 3 Jan 2026 00:52:30 +0800 Subject: [PATCH 5/6] Docs: add rockylinux-10-extra description Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> --- .../image-builder/roles/kubevirt-images/defaults/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test-infra/image-builder/roles/kubevirt-images/defaults/main.yml b/test-infra/image-builder/roles/kubevirt-images/defaults/main.yml index 60d381171..e4db344c9 100644 --- a/test-infra/image-builder/roles/kubevirt-images/defaults/main.yml +++ b/test-infra/image-builder/roles/kubevirt-images/defaults/main.yml @@ -118,6 +118,10 @@ images: converted: true tag: "latest" + # rockylinux-10-extra: + # default cloud image doesn't included `kernel-modules-extra`. How to build RockyLinux 10 + `kernel-module-extra` with dib + # https://github.com/kubernetes-sigs/kubespray/pull/12355#issuecomment-3705400093 + debian-10: filename: debian-10-openstack-amd64.qcow2 url: https://cdimage.debian.org/cdimage/openstack/current-10/debian-10-openstack-amd64.qcow2 From 5be35c811af802f56b7188a3a2e79c12919945cc Mon Sep 17 00:00:00 2001 From: ChengHao Yang <17496418+tico88612@users.noreply.github.com> Date: Sat, 3 Jan 2026 15:22:14 +0800 Subject: [PATCH 6/6] Docs: Rocky Linux 10 experimental description Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> --- README.md | 2 +- docs/operating_systems/rhel.md | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 808edcd6c..04a9fb0c4 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ vagrant up - **openSUSE** Leap 15.x/Tumbleweed - **Oracle Linux** [9, 10](docs/operating_systems/rhel.md#rhel-8) - **Alma Linux** [9, 10](docs/operating_systems/rhel.md#rhel-8) -- **Rocky Linux** [9, 10](docs/operating_systems/rhel.md#rhel-8) +- **Rocky Linux** [9, 10](docs/operating_systems/rhel.md#rhel-8) (experimental in 10: see [Rocky Linux 10 notes](docs/operating_systems/rhel.md#rocky-linux-10)) - **Kylin Linux Advanced Server V10** (experimental: see [kylin linux notes](docs/operating_systems/kylinlinux.md)) - **Amazon Linux 2** (experimental: see [amazon linux notes](docs/operating_systems/amazonlinux.md)) - **UOS Linux** (experimental: see [uos linux notes](docs/operating_systems/uoslinux.md)) diff --git a/docs/operating_systems/rhel.md b/docs/operating_systems/rhel.md index 559dcf11e..98260ebf5 100644 --- a/docs/operating_systems/rhel.md +++ b/docs/operating_systems/rhel.md @@ -38,3 +38,11 @@ you need to ensure they are using iptables-nft. An example how k8s do the autodetection can be found [in this PR](https://github.com/kubernetes/kubernetes/pull/82966) The kernel version is lower than the kubernetes 1.32 system validation, please refer to the [kernel requirements](../operations/kernel-requirements.md). + +## Rocky Linux 10 + +(Experimental in Kubespray CI) + +The official Rocky Linux 10 cloud image does not include `kernel-module-extra`. Both Kube Proxy and CNI rely on this package, and since it relates to kernel version compatibility (which may require VM reboots, etc.), we haven't found an ideal solution. + +However, some users report that it doesn't affect them (minimal version). Therefore, the Kubespray CI Rocky Linux 10 image is built by Kubespray maintainers using `diskimage-builder`. For detailed methods, please refer to [the comments](https://github.com/kubernetes-sigs/kubespray/pull/12355#issuecomment-3705400093).