Skip to content

Commit 75d9913

Browse files
committed
Add ci-etcd-k8s-coverage-amd64 periodic job
Tmpfs volume makes etcd run faster. Signed-off-by: Aleksander Mistewicz <[email protected]>
1 parent 0eeaeb8 commit 75d9913

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

config/jobs/etcd/etcd-periodics.yaml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2122,3 +2122,61 @@ periodics:
21222122
memory: "3Gi"
21232123
nodeSelector:
21242124
kubernetes.io/arch: amd64
2125+
2126+
- name: ci-etcd-k8s-coverage-amd64
2127+
interval: 24h
2128+
cluster: eks-prow-build-cluster
2129+
decorate: true
2130+
decoration_config:
2131+
timeout: 90m
2132+
extra_refs:
2133+
- org: etcd-io
2134+
repo: etcd
2135+
base_ref: main
2136+
workdir: true
2137+
- org: kubernetes
2138+
repo: kubernetes
2139+
base_ref: master
2140+
clone_depth: 128
2141+
path_alias: k8s.io/kubernetes
2142+
labels:
2143+
preset-dind-enabled: "true"
2144+
annotations:
2145+
testgrid-dashboards: sig-etcd-periodics
2146+
spec:
2147+
volumes:
2148+
- name: tmpdir
2149+
emptyDir:
2150+
sizeLimit: 200Mi
2151+
medium: Memory
2152+
containers:
2153+
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20250905-c89b045f57-master
2154+
command:
2155+
- runner.sh
2156+
args:
2157+
- bash
2158+
- -c
2159+
- |
2160+
set -euo pipefail
2161+
(cd tests/robustness && make k8s-coverage) || echo
2162+
export ETCD_VERIFY=all
2163+
export JUNIT_REPORT_DIR=${ARTIFACTS}
2164+
source ./scripts/test_lib.sh
2165+
run_for_module "tests" go_test "./robustness/coverage/..." "keep_going" : -timeout=60s -run="^TestInterfaceUse/"
2166+
volumeMounts:
2167+
- mountPath: /etcd-data
2168+
name: tmpdir
2169+
env:
2170+
- name: DATA_DIR
2171+
value: /etcd-data
2172+
resources:
2173+
requests:
2174+
cpu: "4"
2175+
memory: "8Gi"
2176+
limits:
2177+
cpu: "4"
2178+
memory: "8Gi"
2179+
securityContext:
2180+
privileged: true
2181+
nodeSelector:
2182+
kubernetes.io/arch: amd64

0 commit comments

Comments
 (0)