@@ -482,6 +482,54 @@ presubmits:
482
482
cpu : 2
483
483
memory : 6Gi
484
484
485
+ - name : pull-kubernetes-dra-integration
486
+ cluster : eks-prow-build-cluster
487
+ skip_branches :
488
+ - release-\d+\.\d+ # per-release image
489
+ always_run : false
490
+ run_if_changed : /(dra|dynamicresources|resourceclaim|deviceclass|resourceslice|resourceclaimtemplate|dynamic-resource-allocation|pkg/apis/resource|api/resource)/.*.go
491
+ optional : true
492
+ labels :
493
+ preset-service-account : " true"
494
+ preset-dind-enabled : " true"
495
+ preset-kind-volume-mounts : " true"
496
+ annotations :
497
+ testgrid-dashboards : sig-node-dynamic-resource-allocation, sig-node-presubmits
498
+ description : Runs integration tests for DRA which need some additional setup in the job.
499
+
500
+ fork-per-release : " true"
501
+ decorate : true
502
+ decoration_config :
503
+ timeout : 90m
504
+ path_alias : k8s.io/kubernetes
505
+ spec :
506
+ containers :
507
+ - image : gcr.io/k8s-staging-test-infra/kubekins-e2e:v20250714-70266d743a-master
508
+ command :
509
+ - runner.sh
510
+ - /bin/bash
511
+ - -xce
512
+ - |
513
+ # test/e2e_dra is a separate Ginkgo suite with a dependency on local-up-cluster.sh.
514
+ # We could use "make test WHAT=./test/e2e_dra", but then we would get a test JUnit file
515
+ # in addition to the better one from Ginkgo, so instead we build the test binary and
516
+ # invoke it directly. The Ginkgo CLI doesn't add any benefit because we cannot run
517
+ # tests in parallel.
518
+ #
519
+ # We also need the control plane binaries.
520
+ make WHAT="./test/e2e_dra/e2e_dra.test cmd/kube-apiserver cmd/kube-scheduler cmd/kube-controller-manager cmd/kube-proxy cmd/kubelet"
521
+ KUBETEST_IN_DOCKER=true CONTAINER_RUNTIME_ENDPOINT=/var/run/docker/containerd/containerd.sock KUBERNETES_SERVER_BIN_DIR="$(pwd)/_output/local/bin/linux/amd64" KUBERNETES_SERVER_CACHE_DIR=/tmp/cache-dir _output/local/go/bin/e2e_dra.test -ginkgo.timeout=30m -ginkgo.junit-report=${ARTIFACTS}/junit.xml -ginkgo.v -test.v
522
+ # docker-in-docker needs privileged mode
523
+ securityContext :
524
+ privileged : true
525
+ resources :
526
+ limits :
527
+ cpu : 2
528
+ memory : 6Gi
529
+ requests :
530
+ cpu : 2
531
+ memory : 6Gi
532
+
485
533
- name : pull-kubernetes-node-e2e-crio-cgrpv1-dra
486
534
cluster : k8s-infra-prow-build
487
535
skip_branches :
0 commit comments