From 059b49882a7b4f2ace330490bfff40ed2629d2db Mon Sep 17 00:00:00 2001 From: Jiahui Feng Date: Thu, 25 May 2023 14:34:12 -0700 Subject: [PATCH 1/2] add kind e2e for alpha features --- .../kubernetes-kind-presubmits.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/config/jobs/kubernetes/sig-testing/kubernetes-kind-presubmits.yaml b/config/jobs/kubernetes/sig-testing/kubernetes-kind-presubmits.yaml index b288c2b43004..54854e532517 100644 --- a/config/jobs/kubernetes/sig-testing/kubernetes-kind-presubmits.yaml +++ b/config/jobs/kubernetes/sig-testing/kubernetes-kind-presubmits.yaml @@ -281,3 +281,51 @@ presubmits: testgrid-alert-stale-results-hours: '24' testgrid-create-test-group: 'true' testgrid-dashboards: sig-testing-kind + + - name: pull-kubernetes-e2e-kind-alpha-features + cluster: k8s-infra-prow-build + optional: true + always_run: false + decorate: true + skip_branches: + - release-\d+\.\d+ # per-release settings + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + decoration_config: + timeout: 60m + grace_period: 15m + path_alias: k8s.io/kubernetes + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/krte:v20230421-ec4335b54b-master + command: + - wrapper.sh + - bash + - -c + - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh + env: + - name: FEATURE_GATES + value: '{"AllAlpha":true}' + - name: RUNTIME_CONFIG + value: '{"api/alpha":"true"}' + - name: FOCUS + value: \[Alpha\] + - name: SKIP + value: \[Slow\]|\[Disruptive\]|\[Flaky\]|PodSecurityPolicy|LoadBalancer|load.balancer|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|NFS|nfs|inline.execution.and.attach|should.be.rejected.when.no.endpoints.exist + - name: PARALLEL + value: "true" + # we need privileged mode in order to do docker in docker + securityContext: + privileged: true + resources: + limits: + cpu: 7 + memory: 9000Mi + requests: + cpu: 7 + memory: 9000Mi + annotations: + testgrid-num-failures-to-alert: '10' + testgrid-alert-stale-results-hours: '24' + testgrid-create-test-group: 'true' From 95be1e9808cc0db7fc1a7735af90b11d86ffc618 Mon Sep 17 00:00:00 2001 From: Jiahui Feng Date: Thu, 25 May 2023 14:53:07 -0700 Subject: [PATCH 2/2] add kind alpha features to non-blocking. --- config/testgrids/kubernetes/presubmits/config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/testgrids/kubernetes/presubmits/config.yaml b/config/testgrids/kubernetes/presubmits/config.yaml index 1ee6d5fb6330..c8ea96c6764e 100644 --- a/config/testgrids/kubernetes/presubmits/config.yaml +++ b/config/testgrids/kubernetes/presubmits/config.yaml @@ -90,6 +90,9 @@ dashboards: - name: pull-kubernetes-e2e-kind-ipvs-dual-canary test_group_name: pull-kubernetes-e2e-kind-ipvs-dual-canary base_options: width=10 + - name: pull-kubernetes-e2e-kind-alpha-features + test_group_name: pull-kubernetes-e2e-kind-alpha-features + base_options: width=10 - name: pull-kubernetes-e2e-gce-cos-alpha-features test_group_name: pull-kubernetes-e2e-gce-cos-alpha-features base_options: width=10