Cleanup: Ubuntu 20.04 tests (#12301)

* Test: molecule replace ubuntu2004 with ubuntu2204 ubuntu2404

cri-dockerd, adduser and bastion-ssh-config can't run ubuntu2404, maybe needs to check login.

"System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)."

Signed-off-by: ChengHao Yang
<17496418+tico88612@users.noreply.github.com>

* Test: replace ubuntu-2004 with ubuntu-2404

All ubuntu-2004 tests are removed.

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>

* Docs: update ci.md

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>

* Docs: update README.md

Remove Ubuntu 20.04 support

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>

---------

Signed-off-by: ChengHao Yang
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
This commit is contained in:
ChengHao Yang
2025-06-20 09:54:51 +08:00
committed by GitHub
parent 540cfd1087
commit 3cda93405a
34 changed files with 82 additions and 103 deletions

View File

@@ -1,16 +0,0 @@
---
# Instance settings
cloud_image: ubuntu-2004
mode: all-in-one
# Kubespray settings
auto_renew_certificates: true
# Currently ipvs not available on KVM: https://packages.ubuntu.com/search?suite=focal&arch=amd64&mode=exactfilename&searchon=contents&keywords=ip_vs_sh.ko
kube_proxy_mode: iptables
enable_nodelocaldns: false
# Use docker
container_manager: docker
etcd_deployment_type: docker
resolvconf_mode: docker_dns

View File

@@ -1,11 +0,0 @@
---
# Instance settings
cloud_image: ubuntu-2004
mode: all-in-one
# Kubespray settings
auto_renew_certificates: true
# Currently ipvs not available on KVM: https://packages.ubuntu.com/search?suite=focal&arch=amd64&mode=exactfilename&searchon=contents&keywords=ip_vs_sh.ko
kube_proxy_mode: iptables
enable_nodelocaldns: false

View File

@@ -1,8 +0,0 @@
---
cloud_image: ubuntu-2004
cluster_layout:
- node_groups: ['kube_control_plane', 'etcd', 'kube_node']
- node_groups: ['kube_control_plane', 'etcd', 'kube_node']
- node_groups: ['etcd', 'kube_node']
kube_network_plugin: flannel

View File

@@ -1 +0,0 @@
ubuntu20-flannel-collection.yml

View File

@@ -1,7 +0,0 @@
---
cloud_image: ubuntu-2004
cluster_layout:
- node_groups: ['kube_control_plane', 'etcd', 'kube_node']
- node_groups: ['kube_node']
kube_network_plugin: "kube-router"

View File

@@ -1,10 +0,0 @@
---
cloud_image: ubuntu-2004
cluster_layout:
- node_groups: ['kube_control_plane', 'etcd', 'kube_node']
- node_groups: ['kube_control_plane', 'etcd', 'kube_node']
- node_groups: ['etcd', 'kube_node']
kube_network_plugin: "kube-router"
kube_router_run_service_proxy: true

View File

@@ -1,6 +1,6 @@
---
# Instance settings
cloud_image: ubuntu-2004
cloud_image: ubuntu-2404
mode: all-in-one
# Kubespray settings
@@ -12,7 +12,7 @@ enable_nodelocaldns: false
# The followings are for hardening
## kube-apiserver
authorization_modes: ['Node', 'RBAC']
authorization_modes: ["Node", "RBAC"]
kube_apiserver_request_timeout: 120s
kube_apiserver_service_account_lookup: true

View File

@@ -1,6 +1,6 @@
---
# Instance settings
cloud_image: ubuntu-2004
cloud_image: ubuntu-2404
mode: ha
# use the kubeadm etcd setting to test the upgrade

View File

@@ -1,6 +1,6 @@
---
# Instance settings
cloud_image: ubuntu-2004
cloud_image: ubuntu-2404
# use the kubeadm etcd setting to test the upgrade
etcd_deployment_type: kubeadm

View File

@@ -1,4 +1,4 @@
---
# Instance settings
cloud_image: ubuntu-2004
cloud_image: ubuntu-2404
mode: ha-recover-noquorum

View File

@@ -1,4 +1,4 @@
---
# Instance settings
cloud_image: ubuntu-2004
cloud_image: ubuntu-2404
mode: ha-recover

View File

@@ -1,6 +1,6 @@
---
# Instance settings
cloud_image: ubuntu-2004
cloud_image: ubuntu-2404
mode: ha
# Kubespray settings

View File

@@ -1,6 +1,6 @@
---
# Instance settings
cloud_image: ubuntu-2004
cloud_image: ubuntu-2404
mode: separate
# Kubespray settings

View File

@@ -0,0 +1,8 @@
---
cloud_image: ubuntu-2404
cluster_layout:
- node_groups: ["kube_control_plane", "etcd", "kube_node"]
- node_groups: ["kube_control_plane", "etcd", "kube_node"]
- node_groups: ["etcd", "kube_node"]
kube_network_plugin: flannel

View File

@@ -1,6 +1,6 @@
---
# Instance settings
cloud_image: ubuntu-2004
cloud_image: ubuntu-2404
mode: ha
# Kubespray settings

View File

@@ -1,6 +1,6 @@
---
# Instance settings
cloud_image: ubuntu-2004
cloud_image: ubuntu-2404
mode: ha
# Kubespray settings

View File

@@ -0,0 +1,8 @@
---
cloud_image: ubuntu-2404
cluster_layout:
- node_groups: ["kube_control_plane", "etcd", "kube_node"]
- node_groups: ["kube_control_plane", "etcd", "kube_node"]
- node_groups: ["etcd", "kube_node"]
kube_network_plugin: flannel

View File

@@ -0,0 +1,7 @@
---
cloud_image: ubuntu-2404
cluster_layout:
- node_groups: ["kube_control_plane", "etcd", "kube_node"]
- node_groups: ["kube_node"]
kube_network_plugin: "kube-router"

View File

@@ -0,0 +1,10 @@
---
cloud_image: ubuntu-2404
cluster_layout:
- node_groups: ["kube_control_plane", "etcd", "kube_node"]
- node_groups: ["kube_control_plane", "etcd", "kube_node"]
- node_groups: ["etcd", "kube_node"]
kube_network_plugin: "kube-router"
kube_router_run_service_proxy: true