Skip to content

Commit c25bb74

Browse files
authored
Merge pull request #31219 from kannon92/swap-ubuntu-cgroup-v2
add a filter to get cgroupv2
2 parents 0e33bcf + a31253c commit c25bb74

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jobs/e2e_node/swap/image-config-swap.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# `gcloud compute --project <to-project> images create <image-name> --source-disk=<image-name>`
44
images:
55
ubuntu:
6-
image_family: pipeline-1-24
6+
image_family: pipeline-1-25
77
project: ubuntu-os-gke-cloud
8+
# the image regex is added so that only cgroupv2 images are selected.
9+
# currently all images with cgroupv1 from gke have a -cgroupsv1 suffix
10+
image_regex: ".*[^-cgroupsv1]$"
811
metadata: "user-data</home/prow/go/src/k8s.io/test-infra/jobs/e2e_node/swap/ubuntu-swap-1G-allocation.yaml,cni-template</home/prow/go/src/k8s.io/test-infra/jobs/e2e_node/containerd/cni.template,containerd-config</home/prow/go/src/k8s.io/test-infra/jobs/e2e_node/containerd/config.toml"
912
machine: n1-standard-2

0 commit comments

Comments
 (0)