Skip to content

Commit

Permalink
chore: migrate testgrid to kubernetes v1.31 (#5339)
Browse files Browse the repository at this point in the history
move tests to the new kubernetes version.
  • Loading branch information
ricardomaraschini authored Aug 20, 2024
1 parent d2c4f8b commit 9fe10ca
Show file tree
Hide file tree
Showing 10 changed files with 94 additions and 79 deletions.
8 changes: 4 additions & 4 deletions addons/cert-manager/template/testgrid/k8s-docker.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: fresh install
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: "latest"
containerd:
Expand Down Expand Up @@ -57,7 +57,7 @@
- name: upgrade from latest
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: "latest"
containerd:
Expand All @@ -66,7 +66,7 @@
version: "latest"
upgradeSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: "latest"
containerd:
Expand All @@ -88,7 +88,7 @@
airgap: true
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: "latest"
containerd:
Expand Down
6 changes: 3 additions & 3 deletions addons/containerd/template/testgrid/k8s-ctrd.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
- name: basic containerd and flannel, internal LB, airgap, 1.30
- name: basic containerd and flannel, internal LB, airgap, 1.31
airgap: true
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: latest
containerd:
Expand Down Expand Up @@ -379,7 +379,7 @@
- name: "flannel latest multinode"
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: "latest"
containerd:
Expand Down
8 changes: 4 additions & 4 deletions addons/contour/template/testgrid/k8s-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
installerApiEndpoint: https://kurl.sh
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: latest
containerd:
Expand All @@ -11,7 +11,7 @@
version: "latest"
upgradeSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: latest
containerd:
Expand Down Expand Up @@ -82,10 +82,10 @@
curl -v "http://$private_address:80"
- name: "k8s 1.30"
- name: "k8s 1.31"
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: latest
containerd:
Expand Down
2 changes: 1 addition & 1 deletion addons/flannel/template/testgrid/k8s-ctrd.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: "flannel latest single node"
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
containerd:
version: "latest"
flannel:
Expand Down
10 changes: 5 additions & 5 deletions addons/prometheus/template/testgrid/k8s-docker.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: "prometheus minimal k8s 1.30"
- name: "prometheus minimal k8s 1.31"
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: latest
openebs:
Expand Down Expand Up @@ -80,7 +80,7 @@
installerApiEndpoint: https://kurl.sh
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: latest
openebs:
Expand All @@ -93,7 +93,7 @@
version: "latest"
upgradeSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: latest
openebs:
Expand Down Expand Up @@ -121,7 +121,7 @@
- name: "prometheus minimal airgap"
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: latest
rook:
Expand Down
2 changes: 1 addition & 1 deletion addons/registry/template/testgrid/k8s-docker.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: registry_latest_rook
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: latest
rook:
Expand Down
8 changes: 4 additions & 4 deletions addons/velero/template/testgrid/k8s-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
cpu: 6
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: latest
rook:
Expand Down Expand Up @@ -31,7 +31,7 @@
airgap: true
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: latest
rook:
Expand Down Expand Up @@ -145,7 +145,7 @@
cpu: 8
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: latest
rook:
Expand All @@ -158,7 +158,7 @@
version: "1.9.x"
upgradeSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
flannel:
version: latest
rook:
Expand Down
20 changes: 10 additions & 10 deletions testgrid/specs/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
- rocky-9 # docker is not supported on rhel 9 variants
- centos-9 # docker is not supported on rhel 9 variants
- amazon-2023 # docker is not supported on amazon 2023
- name: "Upgrade to 1.25 to 1.30, Migrate from Rook 1.12.x to OpenEBS + Minio"
- name: "Upgrade to 1.25 to 1.31, Migrate from Rook 1.12.x to OpenEBS + Minio"
flags: "yes"
installerSpec:
kubernetes:
Expand All @@ -58,7 +58,7 @@
version: 1.12.x
upgradeSpec:
kubernetes:
version: 1.30.x
version: 1.31.x
containerd:
version: 1.6.x
flannel:
Expand Down Expand Up @@ -157,7 +157,7 @@
fi
unsupportedOSIDs:
- centos-9 # centos 9 was not supported on kurl v2024.07.02-0
- name: "Upgrade from k8s 1.27 to 1.30 - Airgap"
- name: "Upgrade from k8s 1.27 to 1.31 - Airgap"
airgap: true
installerSpec:
kubernetes:
Expand All @@ -180,7 +180,7 @@
version: latest
upgradeSpec:
kubernetes:
version: 1.30.x
version: 1.31.x
kurl:
installerVersion: ""
flannel:
Expand All @@ -205,10 +205,10 @@
preUpgradeScript: |
source /opt/kurl-testgrid/testhelpers.sh
rhel_9_install_host_packages lvm2 conntrack-tools socat container-selinux git
- name: k8s130x_cis_benchmarks_checks
- name: k8s131x_cis_benchmarks_checks
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
cisCompliance: true
containerd:
version: "latest"
Expand All @@ -224,10 +224,10 @@
echo "Kubeconfig was $KUBECONFIG"
unset KUBECONFIG
kubectl get namespaces
- name: "k8s_130x with kurl in-cluster support bundle spec"
- name: "k8s_131x with kurl in-cluster support bundle spec"
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
containerd:
version: latest
flannel:
Expand All @@ -240,10 +240,10 @@
echo $supportBundle | base64 -d | grep 'kind: SupportBundle'
echo "test if the support bundle has 'troubleshoot.io/kind: support-bundle' label"
kubectl get secrets -n kurl kurl-supportbundle-spec -oyaml | grep 'troubleshoot.io/kind: support-bundle'
- name: "k8s_130x with rook"
- name: "k8s_131x with rook"
installerSpec:
kubernetes:
version: "1.30.x"
version: "1.31.x"
containerd:
version: latest
flannel:
Expand Down
Loading

0 comments on commit 9fe10ca

Please sign in to comment.