From 69f2ca19dedcaf56d4d868df22538b913d380b47 Mon Sep 17 00:00:00 2001 From: Damian Sawicki Date: Mon, 16 Dec 2024 13:23:58 +0000 Subject: [PATCH] Add presubmits for kubedns/nodelocaldns bumps This is to detect regressions before merging rather than by inspecting the periodic test grid after merging. Such inssues happened at least twice recently at https://github.com/kubernetes/kubernetes/pull/123590 and https://github.com/kubernetes/kubernetes/issues/129230. Signed-off-by: Damian Sawicki --- .../sig-network/sig-network-misc.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/config/jobs/kubernetes/sig-network/sig-network-misc.yaml b/config/jobs/kubernetes/sig-network/sig-network-misc.yaml index 015ff6e9642e0..7d397b10bfea3 100644 --- a/config/jobs/kubernetes/sig-network/sig-network-misc.yaml +++ b/config/jobs/kubernetes/sig-network/sig-network-misc.yaml @@ -265,6 +265,46 @@ presubmits: testgrid-alert-email: antonio.ojea.garcia@gmail.com, danwinship@redhat.com description: Uses kubetest to run e2e Conformance, SIG-Network tests against a cluster using nftables created with cluster/kube-up.sh + - name: pull-kubernetes-e2e-gci-gce-kube-dns-nodecache + cluster: k8s-infra-prow-build + branches: + # TODO(releng): Remove once repo default branch has been renamed + - master + - main + always_run: false + optional: true + labels: + preset-service-account: "true" + preset-k8s-ssh: "true" + decorate: true + decoration_config: + timeout: 170m + spec: + containers: + - command: + - runner.sh + - /workspace/scenarios/kubernetes_e2e.py + args: + - --check-leaked-resources + - --cluster= + - --env=CLUSTER_DNS_CORE_DNS=false + - --env=KUBE_ENABLE_NODELOCAL_DNS=true + - --env=KUBE_ENABLE_NODE_PROBLEM_DETECTOR=none + - --extract=ci/latest + - --gcp-zone=us-west1-b + - --ginkgo-parallel=30 + - --provider=gce + - --test_args=--ginkgo.skip=\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|\[NodeFeature:.+\]|\[sig-storage\]|LoadBalancer --minStartupPods=8 + - --timeout=150m + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master + resources: + limits: + cpu: 2 + memory: "6Gi" + requests: + cpu: 2 + memory: "6Gi" + kubernetes/dns: - name: pull-kubernetes-dns-test cluster: eks-prow-build-cluster