Skip to content

Commit

Permalink
Add presubmits for kubedns/nodelocaldns bumps
Browse files Browse the repository at this point in the history
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 kubernetes/kubernetes#123590 and
kubernetes/kubernetes#129230.

Signed-off-by: Damian Sawicki <[email protected]>
  • Loading branch information
DamianSawicki committed Dec 16, 2024
1 parent 22b628a commit d52cb77
Showing 1 changed file with 255 additions and 0 deletions.
255 changes: 255 additions & 0 deletions config/jobs/kubernetes/sig-network/sig-network-misc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,261 @@ presubmits:
testgrid-alert-email: [email protected], [email protected]
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-gce-kubedns-performance
cluster: k8s-infra-prow-build
branches:
# TODO(releng): Remove once repo default branch has been renamed
- master
- main
always_run: false
run_if_changed: '^(test/e2e/network/|cluster/addons/dns/kube-dns/)'
optional: true
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
decorate: true
decoration_config:
timeout: 80m
spec:
containers:
- command:
- runner.sh
- /workspace/scenarios/kubernetes_e2e.py
args:
- --cluster=gce-kubedns-perf
- --env=CLUSTER_DNS_CORE_DNS=false
- --env=KUBE_ENABLE_NODE_PROBLEM_DETECTOR=none
- --extract=ci/latest
- --gcp-master-image=gci
- --gcp-node-image=gci
- --gcp-nodes=3
- --gcp-zone=us-east1-b
- --provider=gce
- --test_args=--ginkgo.focus=\[Feature:PerformanceDNS\]
- --timeout=60m
- --use-logexporter
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
resources:
limits:
cpu: 2
memory: "6Gi"
requests:
cpu: 2
memory: "6Gi"
annotations:
testgrid-dashboards: sig-network-gce
testgrid-tab-name: gce-kubedns-performance

- name: pull-kubernetes-e2e-gce-kubedns-performance-nodecache
cluster: k8s-infra-prow-build
branches:
# TODO(releng): Remove once repo default branch has been renamed
- master
- main
always_run: false
run_if_changed: '^(test/e2e/network/|cluster/addons/dns/kube-dns/)'
optional: true
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
decorate: true
decoration_config:
timeout: 80m
spec:
containers:
- command:
- runner.sh
- /workspace/scenarios/kubernetes_e2e.py
args:
- --cluster=gce-kubedns-perf-cache
- --env=CLUSTER_DNS_CORE_DNS=false
- --env=KUBE_ENABLE_NODELOCAL_DNS=true
- --env=KUBE_ENABLE_NODE_PROBLEM_DETECTOR=none
- --extract=ci/latest
- --gcp-master-image=gci
- --gcp-node-image=gci
- --gcp-nodes=3
- --gcp-zone=us-east1-b
- --provider=gce
- --test_args=--ginkgo.focus=\[Feature:PerformanceDNS\]
- --timeout=60m
- --use-logexporter
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
resources:
limits:
cpu: 2
memory: "6Gi"
requests:
cpu: 2
memory: "6Gi"
annotations:
testgrid-dashboards: sig-network-gce
testgrid-tab-name: gce-kubedns-performance-nodecache

- name: pull-kubernetes-e2e-gci-gce-kube-dns
cluster: k8s-infra-prow-build
branches:
# TODO(releng): Remove once repo default branch has been renamed
- master
- main
always_run: false
run_if_changed: '^(test/e2e/network/|cluster/addons/dns/kube-dns/)'
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
- --extract=ci/latest
- --gcp-zone=us-west1-b
- --ginkgo-parallel=30
- --provider=gce
- --test_args=--ginkgo.skip=\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|\[sig-storage\] --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"

- 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
run_if_changed: '^(test/e2e/network/|cluster/addons/dns/kube-dns/)'
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"

- name: pull-kubernetes-e2e-gci-gce-serial-kube-dns
cluster: k8s-infra-prow-build
branches:
# TODO(releng): Remove once repo default branch has been renamed
- master
- main
always_run: false
run_if_changed: '^(test/e2e/network/|cluster/addons/dns/kube-dns/)'
optional: true
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
decorate: true
decoration_config:
timeout: 520m
spec:
containers:
- command:
- runner.sh
- /workspace/scenarios/kubernetes_e2e.py
args:
- --check-leaked-resources
- --env=NODE_LOCAL_SSDS_EXT=1,scsi,fs
- --env=NODE_SIZE=n2-standard-2
- --env=CLUSTER_DNS_CORE_DNS=false,
- --extract=ci/latest
- --gcp-master-image=gci
- --gcp-node-image=gci
- --gcp-zone=us-west1-b
- --provider=gce
- --test_args=--ginkgo.focus=\[Serial\]|\[Disruptive\] --ginkgo.skip=\[Flaky\]|\[sig-storage\]|\[Feature:.+\]|\[sig-cloud-provider-gcp\] --minStartupPods=8
- --timeout=500m
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
resources:
limits:
cpu: 2
memory: "6Gi"
requests:
cpu: 2
memory: "6Gi"

- name: pull-kubernetes-e2e-gci-gce-serial-kube-dns-nodecache
cluster: k8s-infra-prow-build
branches:
# TODO(releng): Remove once repo default branch has been renamed
- master
- main
always_run: false
run_if_changed: '^(test/e2e/network/|cluster/addons/dns/kube-dns/)'
optional: true
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
decorate: true
decoration_config:
timeout: 520m
spec:
containers:
- command:
- runner.sh
- /workspace/scenarios/kubernetes_e2e.py
args:
- --check-leaked-resources
- --env=NODE_LOCAL_SSDS_EXT=1,scsi,fs
- --env=NODE_SIZE=n2-standard-2
- --env=CLUSTER_DNS_CORE_DNS=false,
- --env=KUBE_ENABLE_NODELOCAL_DNS=true
- --env=KUBE_ENABLE_NODE_PROBLEM_DETECTOR=none
- --extract=ci/latest
- --gcp-master-image=gci
- --gcp-node-image=gci
- --gcp-zone=us-west1-b
- --provider=gce
- --test_args=--ginkgo.focus=\[Serial\]|\[Disruptive\] --ginkgo.skip=\[Flaky\]|\[sig-storage\]|\[Feature:.+\]|LoadBalancer|\[sig-cloud-provider-gcp\] --minStartupPods=8
- --timeout=500m
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
Expand Down

0 comments on commit d52cb77

Please sign in to comment.