Skip to content

Commit ad59d88

Browse files
Add presubmit for RestartAllContainers alpha feature
1 parent bb77324 commit ad59d88

File tree

1 file changed

+51
-2
lines changed

1 file changed

+51
-2
lines changed

config/jobs/kubernetes/sig-node/sig-node-presubmit.yaml

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,10 +467,59 @@ presubmits:
467467
- --repo-root=.
468468
- --gcp-zone=us-central1-b
469469
- --parallelism=8
470-
- --focus-regex=\[Feature:.+\]
471-
- --skip-regex=\[Flaky\]|\[Serial\]|\[Feature:InPlacePodVerticalScaling\]|\[Feature:UserNamespacesSupport]|\[Feature:UserNamespacesPodSecurityStandards\]|\[Feature:KubeletCredentialProviders\]|\[Feature:LockContention\]|\[Feature:SCTPConnectivity\]|[\[Feature:PodLevelResources\]|\[Alpha\]
470+
- --focus-regex=\\[Feature:.+\\]
471+
- --skip-regex=\\[Flaky\\]|\\[Serial\\]|\\[Feature:InPlacePodVerticalScaling\\]|\\[Feature:UserNamespacesSupport]|\\[Feature:UserNamespacesPodSecurityStandards\\]|\\[Feature:KubeletCredentialProviders\\]|\\[Feature:LockContention\\]|\\[Feature:SCTPConnectivity\\]|[\\[Feature:PodLevelResources\\]|\\[Alpha\\]
472472
- '--test-args=--container-runtime-endpoint=unix:///run/containerd/containerd.sock --container-runtime-process-name=/home/containerd/usr/local/bin/containerd --container-runtime-pid-file= --kubelet-flags="--cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/containerd.service"'
473473
- --image-config-file=/home/prow/go/src/k8s.io/test-infra/jobs/e2e_node/containerd/containerd-main/image-config.yaml
474+
- name: pull-kubernetes-node-e2e-restartallcontainers
475+
cluster: k8s-infra-prow-build
476+
always_run: false
477+
optional: true
478+
skip_report: false
479+
branches:
480+
- master
481+
- main
482+
decorate: true
483+
decoration_config:
484+
timeout: 90m
485+
path_alias: k8s.io/kubernetes
486+
extra_refs:
487+
- org: kubernetes
488+
repo: test-infra
489+
base_ref: master
490+
path_alias: k8s.io/test-infra
491+
labels:
492+
preset-service-account: "true"
493+
preset-k8s-ssh: "true"
494+
annotations:
495+
testgrid-dashboards: sig-node-presubmits
496+
testgrid-tab-name: pr-node-e2e-restartallcontainers
497+
description: Runs node e2e tests with ContainerRestartRules and RestartAllContainersOnContainerExits feature gates enabled.
498+
run_if_changed: ^pkg/kubelet/.*|pkg/features/.*
499+
spec:
500+
containers:
501+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20251021-e2c2c9806f-master
502+
command:
503+
- runner.sh
504+
- /workspace/scenarios/kubernetes_e2e.py
505+
args:
506+
- --deployment=node
507+
- --gcp-zone=us-central1-b
508+
- '--node-test-args=--feature-gates=ContainerRestartRules=true,RestartAllContainersOnContainerExits=true --container-runtime-endpoint=unix:///run/containerd/containerd.sock --container-runtime-process-name=/usr/bin/containerd --container-runtime-pid-file= --kubelet-flags="--cgroup-driver=systemd --cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/containerd.service" --extra-log="{\"name\": \"containerd.log\", \"journalctl\": [\"-u\", \"containerd*\"]}"'
509+
- --node-tests=true
510+
- --provider=gce
511+
- --test_args=--nodes=1 --focus="\[Feature:RestartAllContainersOnContainerExits\]" --skip="\[Flaky\]"
512+
- --timeout=65m
513+
env:
514+
- name: GOPATH
515+
value: /go
516+
resources:
517+
limits:
518+
cpu: 4
519+
memory: 6Gi
520+
requests:
521+
cpu: 4
522+
memory: 6Gi
474523
- name: pull-kubernetes-node-e2e-containerd-alpha-features
475524
cluster: k8s-infra-prow-build
476525
branches:

0 commit comments

Comments
 (0)