From 61299d279fa68f379d634f275a1bd35b1e35f52d Mon Sep 17 00:00:00 2001 From: RA489 Date: Thu, 5 Nov 2020 15:27:28 +0530 Subject: [PATCH] kubeadm: add kinder test jobs for k8s 1.20 --- .../kubeadm-kinder-discovery.yaml | 40 ++++++++++++++++ .../kubeadm-kinder-external-etcd.yaml | 40 ++++++++++++++++ .../kubeadm-kinder-upgrade.yaml | 46 +++++++++++++++++-- .../kubeadm-kinder-x-on-y.yaml | 46 +++++++++++++++++-- .../sig-cluster-lifecycle/kubeadm-kinder.yaml | 40 ++++++++++++++++ 5 files changed, 206 insertions(+), 6 deletions(-) diff --git a/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-discovery.yaml b/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-discovery.yaml index 32d9747e85f7..8071461fce48 100644 --- a/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-discovery.yaml +++ b/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-discovery.yaml @@ -41,6 +41,46 @@ periodics: memory: "9000Mi" cpu: 2000m +- name: ci-kubernetes-e2e-kubeadm-kinder-discovery-1-20 + interval: 12h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + annotations: + testgrid-dashboards: sig-cluster-lifecycle-kubeadm + testgrid-tab-name: kubeadm-kinder-discovery-1-20 + testgrid-alert-email: kubernetes-sig-cluster-lifecycle+testgrid@googlegroups.com + description: "OWNER: sig-cluster-lifecycle (kinder); Uses kubeadm/kinder to create a cluster and test alternative discovery methods for kubeadm join" + testgrid-num-columns-recent: "20" + testgrid-num-failures-to-alert: "4" + testgrid-alert-stale-results-hours: "48" + decoration_config: + timeout: 60m + extra_refs: + - org: kubernetes + repo: kubernetes + base_ref: release-1.20 + path_alias: k8s.io/kubernetes + - org: kubernetes + repo: kubeadm + base_ref: master + path_alias: k8s.io/kubeadm + spec: + containers: + - image: gcr.io/k8s-testimages/kubekins-e2e:v20201201-1941b8f-1.20 + command: + - runner.sh + - "../kubeadm/kinder/ci/kinder-run.sh" + args: + - "discovery-1.20" + securityContext: + privileged: true + resources: + requests: + memory: "9000Mi" + cpu: 2000m + - name: ci-kubernetes-e2e-kubeadm-kinder-discovery-1-19 interval: 12h decorate: true diff --git a/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-external-etcd.yaml b/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-external-etcd.yaml index d7b995646960..487a3b566ab0 100644 --- a/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-external-etcd.yaml +++ b/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-external-etcd.yaml @@ -41,6 +41,46 @@ periodics: memory: "9000Mi" cpu: 2000m +- name: ci-kubernetes-e2e-kubeadm-kinder-external-etcd-1-20 + interval: 12h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + annotations: + testgrid-dashboards: sig-cluster-lifecycle-kubeadm + testgrid-tab-name: kubeadm-kinder-external-etcd-1-20 + testgrid-alert-email: kubernetes-sig-cluster-lifecycle+testgrid@googlegroups.com + description: "OWNER: sig-cluster-lifecycle (kinder); Uses kubeadm/kinder to create a cluster with external etcd and run kubeadm-e2e and the conformance suite" + testgrid-num-columns-recent: "20" + testgrid-num-failures-to-alert: "4" + testgrid-alert-stale-results-hours: "48" + decoration_config: + timeout: 60m + extra_refs: + - org: kubernetes + repo: kubernetes + base_ref: release-1.20 + path_alias: k8s.io/kubernetes + - org: kubernetes + repo: kubeadm + base_ref: master + path_alias: k8s.io/kubeadm + spec: + containers: + - image: gcr.io/k8s-testimages/kubekins-e2e:v20201201-1941b8f-1.20 + command: + - runner.sh + - "../kubeadm/kinder/ci/kinder-run.sh" + args: + - "external-etcd-1.20" + securityContext: + privileged: true + resources: + requests: + memory: "9000Mi" + cpu: 2000m + - name: ci-kubernetes-e2e-kubeadm-kinder-external-etcd-1-19 interval: 12h decorate: true diff --git a/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-upgrade.yaml b/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-upgrade.yaml index d38e13fa59fb..7650246ce1ae 100644 --- a/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-upgrade.yaml +++ b/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-upgrade.yaml @@ -1,7 +1,7 @@ # periodic jobs periodics: -- name: ci-kubernetes-e2e-kubeadm-kinder-upgrade-1-19-latest +- name: ci-kubernetes-e2e-kubeadm-kinder-upgrade-1-20-latest interval: 2h decorate: true labels: @@ -9,7 +9,7 @@ periodics: preset-kind-volume-mounts: "true" annotations: testgrid-dashboards: sig-cluster-lifecycle-kubeadm,sig-release-master-informing - testgrid-tab-name: kubeadm-kinder-upgrade-1-19-latest + testgrid-tab-name: kubeadm-kinder-upgrade-1-20-latest testgrid-alert-email: kubernetes-sig-cluster-lifecycle+testgrid@googlegroups.com, release-team@kubernetes.io description: "OWNER: sig-cluster-lifecycle (kinder); Uses kubeadm/kinder to create a cluster, upgrade it and run kubeadm-e2e and the conformance suite" testgrid-num-columns-recent: "20" @@ -33,7 +33,47 @@ periodics: - runner.sh - "../kubeadm/kinder/ci/kinder-run.sh" args: - - "upgrade-1.19-latest" + - "upgrade-1.20-latest" + securityContext: + privileged: true + resources: + requests: + memory: "9000Mi" + cpu: 2000m + +- name: ci-kubernetes-e2e-kubeadm-kinder-upgrade-1-19-1-20 + interval: 12h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + annotations: + testgrid-dashboards: sig-cluster-lifecycle-kubeadm,sig-release-1.20-informing + testgrid-tab-name: kubeadm-kinder-upgrade-1-19-1-20 + testgrid-alert-email: kubernetes-sig-cluster-lifecycle+testgrid@googlegroups.com, release-team@kubernetes.io + description: "OWNER: sig-cluster-lifecycle (kinder); Uses kubeadm/kinder to create a cluster, upgrade it and run kubeadm-e2e and the conformance suite" + testgrid-num-columns-recent: "20" + testgrid-num-failures-to-alert: "4" + testgrid-alert-stale-results-hours: "48" + decoration_config: + timeout: 60m + extra_refs: + - org: kubernetes + repo: kubernetes + base_ref: release-1.20 + path_alias: k8s.io/kubernetes + - org: kubernetes + repo: kubeadm + base_ref: master + path_alias: k8s.io/kubeadm + spec: + containers: + - image: gcr.io/k8s-testimages/kubekins-e2e:v20201201-1941b8f-1.20 + command: + - runner.sh + - "../kubeadm/kinder/ci/kinder-run.sh" + args: + - "upgrade-1.19-1.20" securityContext: privileged: true resources: diff --git a/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-x-on-y.yaml b/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-x-on-y.yaml index bca3cd1b3196..d0a807e85492 100644 --- a/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-x-on-y.yaml +++ b/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder-x-on-y.yaml @@ -1,7 +1,7 @@ # periodic jobs periodics: -- name: ci-kubernetes-e2e-kubeadm-kinder-latest-on-1-19 +- name: ci-kubernetes-e2e-kubeadm-kinder-latest-on-1-20 interval: 2h decorate: true labels: @@ -9,7 +9,7 @@ periodics: preset-kind-volume-mounts: "true" annotations: testgrid-dashboards: sig-cluster-lifecycle-kubeadm,sig-release-master-informing - testgrid-tab-name: kubeadm-kinder-latest-on-1-19 + testgrid-tab-name: kubeadm-kinder-latest-on-1-20 testgrid-alert-email: kubernetes-sig-cluster-lifecycle+testgrid@googlegroups.com, release-team@kubernetes.io description: "OWNER: sig-cluster-lifecycle (kinder); Uses kubeadm/kinder to create a cluster with version skew and run kubeadm-e2e and the conformance suite" testgrid-num-columns-recent: "20" @@ -18,6 +18,46 @@ periodics: decoration_config: timeout: 60m extra_refs: + - org: kubernetes + repo: kubernetes + base_ref: release-1.20 + path_alias: k8s.io/kubernetes + - org: kubernetes + repo: kubeadm + base_ref: master + path_alias: k8s.io/kubeadm + spec: + containers: + - image: gcr.io/k8s-testimages/kubekins-e2e:v20201201-1941b8f-1.20 + command: + - runner.sh + - "../kubeadm/kinder/ci/kinder-run.sh" + args: + - "skew-latest-on-1.20" + securityContext: + privileged: true + resources: + requests: + memory: "9000Mi" + cpu: 2000m + +- name: ci-kubernetes-e2e-kubeadm-kinder-1-20-on-1-19 + interval: 12h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + annotations: + testgrid-dashboards: sig-cluster-lifecycle-kubeadm,sig-release-1.20-informing + testgrid-tab-name: kubeadm-kinder-1-20-on-1-19 + testgrid-alert-email: kubernetes-sig-cluster-lifecycle+testgrid@googlegroups.com, release-team@kubernetes.io + description: "OWNER: sig-cluster-lifecycle (kinder); Uses kubeadm/kinder to create a cluster with version skew and run kubeadm-e2e and the conformance suite" + testgrid-num-columns-recent: "20" + testgrid-num-failures-to-alert: "4" + testgrid-alert-stale-results-hours: "48" + decoration_config: + timeout: 60m + extra_refs: - org: kubernetes repo: kubernetes base_ref: release-1.19 @@ -33,7 +73,7 @@ periodics: - runner.sh - "../kubeadm/kinder/ci/kinder-run.sh" args: - - "skew-latest-on-1.19" + - "skew-1.20-on-1.19" securityContext: privileged: true resources: diff --git a/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder.yaml b/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder.yaml index 48277fd0f791..60876bbbf188 100644 --- a/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder.yaml +++ b/config/jobs/kubernetes/sig-cluster-lifecycle/kubeadm-kinder.yaml @@ -41,6 +41,46 @@ periodics: memory: "9000Mi" cpu: 2000m +- name: ci-kubernetes-e2e-kubeadm-kinder-1-20 + interval: 12h + decorate: true + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + annotations: + testgrid-dashboards: sig-cluster-lifecycle-kubeadm,sig-release-1.20-informing + testgrid-tab-name: kubeadm-kinder-1-20 + testgrid-alert-email: kubernetes-sig-cluster-lifecycle+testgrid@googlegroups.com, release-team@kubernetes.io + description: "OWNER: sig-cluster-lifecycle (kinder); Uses kubeadm/kinder to create a cluster and run kubeadm-e2e and the conformance suite" + testgrid-num-columns-recent: "20" + testgrid-num-failures-to-alert: "4" + testgrid-alert-stale-results-hours: "48" + decoration_config: + timeout: 60m + extra_refs: + - org: kubernetes + repo: kubernetes + base_ref: release-1.20 + path_alias: k8s.io/kubernetes + - org: kubernetes + repo: kubeadm + base_ref: master + path_alias: k8s.io/kubeadm + spec: + containers: + - image: gcr.io/k8s-testimages/kubekins-e2e:v20201201-1941b8f-1.20 + command: + - runner.sh + - "../kubeadm/kinder/ci/kinder-run.sh" + args: + - "regular-1.20" + securityContext: + privileged: true + resources: + requests: + memory: "9000Mi" + cpu: 2000m + - name: ci-kubernetes-e2e-kubeadm-kinder-1-19 interval: 12h decorate: true