Skip to content

Commit 346da54

Browse files
committed
SIG testing: alpha/beta "enabled" and "conformance" presubmits
We've had kind-alpha-beta-features and kind-beta-features jobs for a while. The original purpose was to run stable tests in a cluster with features enabled to detect when enabling those breaks stable functionality. Later the jobs were extended to also run all tests which should work in such a cluster. The kind-alpha-features job got removed recently because it's not necessarily a valid cluster configuration. What this adds for the both cluster configs is: - "-enabled": running only tests for on-by-default features, i.e. excluding tests for stable features. This matches the original purpose of the jobs. - "-enabled-conformance": restricts the test selection even further to only conformance tests. Both can eventually get promoted to release informing or even blocking. Only presubmits get added for now. If testing the jobs in a trial PR works, the corresponding periodics can be added.
1 parent f2d68aa commit 346da54

File tree

1 file changed

+186
-4
lines changed

1 file changed

+186
-4
lines changed

config/jobs/kubernetes/sig-testing/kubernetes-kind-presubmits.yaml

Lines changed: 186 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,98 @@ presubmits:
301301
value: '{"api/beta":"true", "api/ga":"true"}'
302302
- name: LABEL_FILTER
303303
value: "Feature: isSubsetOf OffByDefault && !Alpha && !Deprecated && !Slow && !Disruptive && !Flaky"
304-
- name: SKIP
305-
value: PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
304+
- name: PARALLEL
305+
value: "true"
306+
# we need privileged mode in order to do docker in docker
307+
securityContext:
308+
privileged: true
309+
resources:
310+
limits:
311+
cpu: 7
312+
memory: 9000Mi
313+
requests:
314+
cpu: 7
315+
memory: 9000Mi
316+
317+
- name: pull-kubernetes-e2e-kind-beta-enabled
318+
cluster: k8s-infra-prow-build
319+
annotations:
320+
description: Runs tests with no special requirements in a KinD cluster where beta feature gates and APIs are enabled, i.e. this does not include tests for off-by-default beta features.
321+
testgrid-num-failures-to-alert: '10'
322+
testgrid-alert-stale-results-hours: '24'
323+
testgrid-create-test-group: 'true'
324+
optional: true
325+
always_run: false
326+
decorate: true
327+
skip_branches:
328+
- release-\d+\.\d+ # per-release settings
329+
labels:
330+
preset-dind-enabled: "true"
331+
decoration_config:
332+
timeout: 60m
333+
grace_period: 15m
334+
path_alias: k8s.io/kubernetes
335+
spec:
336+
containers:
337+
- image: gcr.io/k8s-staging-test-infra/krte:v20250904-c89b045f57-master
338+
command:
339+
- wrapper.sh
340+
- bash
341+
- -c
342+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
343+
env:
344+
- name: FEATURE_GATES
345+
value: '{"AllBeta":true}'
346+
- name: RUNTIME_CONFIG
347+
value: '{"api/beta":"true", "api/ga":"true"}'
348+
- name: LABEL_FILTER
349+
value: "Feature: isEmpty && !Deprecated && !Slow && !Disruptive && !Flaky"
350+
- name: PARALLEL
351+
value: "true"
352+
# we need privileged mode in order to do docker in docker
353+
securityContext:
354+
privileged: true
355+
resources:
356+
limits:
357+
cpu: 7
358+
memory: 9000Mi
359+
requests:
360+
cpu: 7
361+
memory: 9000Mi
362+
363+
- name: pull-kubernetes-e2e-kind-beta-enabled-conformance
364+
cluster: k8s-infra-prow-build
365+
annotations:
366+
description: Runs conformance tests in a KinD cluster where beta feature gates and APIs are enabled.
367+
testgrid-num-failures-to-alert: '10'
368+
testgrid-alert-stale-results-hours: '24'
369+
testgrid-create-test-group: 'true'
370+
optional: true
371+
always_run: false
372+
decorate: true
373+
skip_branches:
374+
- release-\d+\.\d+ # per-release settings
375+
labels:
376+
preset-dind-enabled: "true"
377+
decoration_config:
378+
timeout: 60m
379+
grace_period: 15m
380+
path_alias: k8s.io/kubernetes
381+
spec:
382+
containers:
383+
- image: gcr.io/k8s-staging-test-infra/krte:v20250904-c89b045f57-master
384+
command:
385+
- wrapper.sh
386+
- bash
387+
- -c
388+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
389+
env:
390+
- name: FEATURE_GATES
391+
value: '{"AllBeta":true}'
392+
- name: RUNTIME_CONFIG
393+
value: '{"api/beta":"true", "api/ga":"true"}'
394+
- name: LABEL_FILTER
395+
value: "Conformance && !Deprecated && !Slow && !Disruptive && !Flaky"
306396
- name: PARALLEL
307397
value: "true"
308398
# we need privileged mode in order to do docker in docker
@@ -350,8 +440,100 @@ presubmits:
350440
value: '{"api/all":"true"}'
351441
- name: LABEL_FILTER
352442
value: "Feature: isSubsetOf OffByDefault && !Deprecated && !Slow && !Disruptive && !Flaky"
353-
- name: SKIP
354-
value: PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
443+
- name: PARALLEL
444+
value: "true"
445+
# we need privileged mode in order to do docker in docker
446+
securityContext:
447+
privileged: true
448+
resources:
449+
limits:
450+
cpu: 7
451+
memory: 9000Mi
452+
requests:
453+
cpu: 7
454+
memory: 9000Mi
455+
456+
- name: pull-kubernetes-e2e-kind-alpha-beta-enabled
457+
annotations:
458+
description: Runs tests with no special requirements in a KinD cluster where alpha and beta feature gates and APIs are enabled, i.e. this does not include tests for alpha features and off-by-default beta features.
459+
testgrid-num-failures-to-alert: '10'
460+
testgrid-alert-stale-results-hours: '24'
461+
testgrid-create-test-group: 'true'
462+
cluster: k8s-infra-prow-build
463+
optional: true
464+
run_if_changed: ^pkg/features/
465+
decorate: true
466+
skip_branches:
467+
- release-\d+\.\d+ # per-release settings
468+
labels:
469+
preset-dind-enabled: "true"
470+
decoration_config:
471+
timeout: 60m
472+
grace_period: 15m
473+
path_alias: k8s.io/kubernetes
474+
spec:
475+
containers:
476+
- image: gcr.io/k8s-staging-test-infra/krte:v20250904-c89b045f57-master
477+
command:
478+
- wrapper.sh
479+
- bash
480+
- -c
481+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
482+
env:
483+
# EventedPLEG is disabled temporarily for https://github.com/kubernetes/kubernetes/issues/122721
484+
- name: FEATURE_GATES
485+
value: '{"AllAlpha":true,"AllBeta":true,"EventedPLEG":false}'
486+
- name: RUNTIME_CONFIG
487+
value: '{"api/all":"true"}'
488+
- name: LABEL_FILTER
489+
value: "Feature: isEmpty && !Deprecated && !Slow && !Disruptive && !Flaky"
490+
- name: PARALLEL
491+
value: "true"
492+
# we need privileged mode in order to do docker in docker
493+
securityContext:
494+
privileged: true
495+
resources:
496+
limits:
497+
cpu: 7
498+
memory: 9000Mi
499+
requests:
500+
cpu: 7
501+
memory: 9000Mi
502+
503+
- name: pull-kubernetes-e2e-kind-alpha-beta-enabled-conformance
504+
annotations:
505+
description: Runs conformance tests in a KinD cluster where alpha and beta feature gates and APIs are enabled.
506+
testgrid-num-failures-to-alert: '10'
507+
testgrid-alert-stale-results-hours: '24'
508+
testgrid-create-test-group: 'true'
509+
cluster: k8s-infra-prow-build
510+
optional: true
511+
run_if_changed: ^pkg/features/
512+
decorate: true
513+
skip_branches:
514+
- release-\d+\.\d+ # per-release settings
515+
labels:
516+
preset-dind-enabled: "true"
517+
decoration_config:
518+
timeout: 60m
519+
grace_period: 15m
520+
path_alias: k8s.io/kubernetes
521+
spec:
522+
containers:
523+
- image: gcr.io/k8s-staging-test-infra/krte:v20250904-c89b045f57-master
524+
command:
525+
- wrapper.sh
526+
- bash
527+
- -c
528+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
529+
env:
530+
# EventedPLEG is disabled temporarily for https://github.com/kubernetes/kubernetes/issues/122721
531+
- name: FEATURE_GATES
532+
value: '{"AllAlpha":true,"AllBeta":true,"EventedPLEG":false}'
533+
- name: RUNTIME_CONFIG
534+
value: '{"api/all":"true"}'
535+
- name: LABEL_FILTER
536+
value: "Conformance && !Deprecated && !Slow && !Disruptive && !Flaky"
355537
- name: PARALLEL
356538
value: "true"
357539
# we need privileged mode in order to do docker in docker

0 commit comments

Comments
 (0)