Skip to content

Commit

Permalink
Merge pull request #4014 from replicatedhq/emosbaugh/sc-67936/flannel…
Browse files Browse the repository at this point in the history
…-airgap-test-failing-installation

fix(testgrid): use weave with docker on rhel based distros
  • Loading branch information
emosbaugh authored Feb 1, 2023
2 parents c5d671f + 0f10de0 commit 5937744
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 74 deletions.
42 changes: 34 additions & 8 deletions addons/containerd/template/testgrid/k8s-ctrd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@
postUpgradeScript: |
containerd --version | grep "__testver__"
- name: "Migrate from Docker to Containerd"
- name: "Migrate from Docker to Containerd and Kubernetes from 1.23 to 1.25"
installerSpec:
kubernetes:
version: 1.23.x
flannel:
weave: # flannel has errors with dns and docker
version: latest
openebs:
version: latest
Expand All @@ -118,8 +118,8 @@
version: latest
upgradeSpec:
kubernetes:
version: 1.24.x
flannel:
version: 1.25.x
weave: # flannel has errors with dns and docker
version: latest
openebs:
version: latest
Expand All @@ -136,11 +136,24 @@
containerd:
version: "__testver__"
s3Override: "__testdist__"
- name: "Migrate from Docker to Containerd airgap"
postInstallScript: |
source /opt/kurl-testgrid/testhelpers.sh
minio_object_store_info
validate_read_write_object_store rwtest testfile.txt
echo "Checking kubectl with kube/config"
echo "Kubeconfig was $KUBECONFIG"
unset KUBECONFIG
kubectl get namespaces
postUpgradeScript: |
source /opt/kurl-testgrid/testhelpers.sh
minio_object_store_info
validate_testfile rwtest testfile.txt
validate_read_write_object_store postupgrade upgradefile.txt
- name: "Migrate from Docker to Containerd and Kubernetes from 1.23 to 1.25 airgap"
installerSpec:
kubernetes:
version: 1.23.x
flannel:
weave: # flannel has errors with dns and docker
version: latest
openebs:
version: latest
Expand All @@ -158,8 +171,8 @@
version: latest
upgradeSpec:
kubernetes:
version: 1.24.x
flannel:
version: 1.25.x
weave: # flannel has errors with dns and docker
version: latest
openebs:
version: latest
Expand All @@ -177,3 +190,16 @@
version: "__testver__"
s3Override: "__testdist__"
airgap: true
postInstallScript: |
source /opt/kurl-testgrid/testhelpers.sh
minio_object_store_info
validate_read_write_object_store rwtest testfile.txt
echo "Checking kubectl with kube/config"
echo "Kubeconfig was $KUBECONFIG"
unset KUBECONFIG
kubectl get namespaces
postUpgradeScript: |
source /opt/kurl-testgrid/testhelpers.sh
minio_object_store_info
validate_testfile rwtest testfile.txt
validate_read_write_object_store postupgrade upgradefile.txt
18 changes: 11 additions & 7 deletions testgrid/specs/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -286,13 +286,11 @@
version: latest
kotsadm:
version: latest
- name: "Airgap upgrade from k8s 1.23 to 1.25, and from Docker to Containerd"
- name: "Migrate from Docker to Containerd and Kubernetes from 1.23 to 1.25 airgap"
installerSpec:
kubernetes:
version: 1.23.x
kurl:
installerVersion: ""
flannel:
weave: # flannel has errors with dns and docker
version: latest
openebs:
version: latest
Expand All @@ -302,14 +300,16 @@
version: latest
ekco:
version: latest
registry:
version: latest
kotsadm:
version: latest
docker:
version: latest
upgradeSpec:
kubernetes:
version: 1.25.x
kurl:
installerVersion: ""
flannel:
weave: # flannel has errors with dns and docker
version: latest
openebs:
version: latest
Expand All @@ -319,6 +319,10 @@
version: latest
ekco:
version: latest
registry:
version: latest
kotsadm:
version: latest
containerd:
version: latest
airgap: true
Expand Down
117 changes: 58 additions & 59 deletions testgrid/specs/full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -900,73 +900,111 @@
airgap: true
unsupportedOSIDs:
- centos-74 # Rook 1.8+ not supported on 3.10.0-693.el7.x86_64 kernel
- name: "Migrate from Docker to Containerd"
- name: "Migrate from Docker to Containerd and Kubernetes from 1.23 to 1.25"
installerSpec:
kubernetes:
version: 1.23.x
flannel:
weave: # flannel has errors with dns and docker
version: latest
longhorn:
openebs:
version: latest
registry:
isLocalPVEnabled: true
localPVStorageClassName: default
minio:
version: latest
ekco:
version: latest
registry:
version: latest
kotsadm:
version: latest
disableS3: true
docker:
version: latest
upgradeSpec:
kubernetes:
version: 1.23.x
flannel:
version: 1.25.x
weave: # flannel has errors with dns and docker
version: latest
longhorn:
openebs:
version: latest
registry:
isLocalPVEnabled: true
localPVStorageClassName: default
minio:
version: latest
ekco:
version: latest
registry:
version: latest
kotsadm:
version: latest
disableS3: true
containerd:
version: latest
- name: "Migrate from Docker to Containerd airgap"
postInstallScript: |
source /opt/kurl-testgrid/testhelpers.sh
minio_object_store_info
validate_read_write_object_store rwtest testfile.txt
echo "Checking kubectl with kube/config"
echo "Kubeconfig was $KUBECONFIG"
unset KUBECONFIG
kubectl get namespaces
postUpgradeScript: |
source /opt/kurl-testgrid/testhelpers.sh
minio_object_store_info
validate_testfile rwtest testfile.txt
validate_read_write_object_store postupgrade upgradefile.txt
- name: "Migrate from Docker to Containerd and Kubernetes from 1.23 to 1.25 airgap"
installerSpec:
kubernetes:
version: 1.23.x
flannel:
weave: # flannel has errors with dns and docker
version: latest
longhorn:
openebs:
version: latest
registry:
isLocalPVEnabled: true
localPVStorageClassName: default
minio:
version: latest
ekco:
version: latest
registry:
version: latest
kotsadm:
version: latest
disableS3: true
docker:
version: latest
upgradeSpec:
kubernetes:
version: 1.23.x
flannel:
version: 1.25.x
weave: # flannel has errors with dns and docker
version: latest
longhorn:
openebs:
version: latest
registry:
isLocalPVEnabled: true
localPVStorageClassName: default
minio:
version: latest
ekco:
version: latest
registry:
version: latest
kotsadm:
version: latest
disableS3: true
containerd:
version: latest
airgap: true
postInstallScript: |
source /opt/kurl-testgrid/testhelpers.sh
minio_object_store_info
validate_read_write_object_store rwtest testfile.txt
echo "Checking kubectl with kube/config"
echo "Kubeconfig was $KUBECONFIG"
unset KUBECONFIG
kubectl get namespaces
postUpgradeScript: |
source /opt/kurl-testgrid/testhelpers.sh
minio_object_store_info
validate_testfile rwtest testfile.txt
validate_read_write_object_store postupgrade upgradefile.txt
- name: "K8s 1.24x Rook"
cpu: 6
installerSpec:
Expand Down Expand Up @@ -1715,42 +1753,3 @@
version: latest
containerd:
version: latest
- name: "Migrate from Docker to Containerd and Kubernetes from 1.23 to 1.25"
installerSpec:
kubernetes:
version: 1.23.x
flannel:
version: latest
openebs:
version: latest
isLocalPVEnabled: true
localPVStorageClassName: default
minio:
version: latest
registry:
version: latest
ekco:
version: latest
kotsadm:
version: latest
docker:
version: latest
upgradeSpec:
kubernetes:
version: 1.25.x
flannel:
version: latest
openebs:
version: latest
isLocalPVEnabled: true
localPVStorageClassName: default
minio:
version: latest
registry:
version: latest
ekco:
version: latest
kotsadm:
version: latest
containerd:
version: latest

0 comments on commit 5937744

Please sign in to comment.