Skip to content

Commit

Permalink
add a dedicated job for testing vac feature
Browse files Browse the repository at this point in the history
  • Loading branch information
carlory committed Jan 25, 2024
1 parent 24975e8 commit 68df848
Showing 1 changed file with 97 additions and 0 deletions.
97 changes: 97 additions & 0 deletions config/jobs/kubernetes/sig-storage/sig-storage-kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,54 @@ presubmits:
cpu: "2"
memory: "6Gi"

# This jobs runs e2e.test with a focus on tests for the VolumeAttributesClass feature (currently alpha)
# on a kind cluster
- name: pull-kubernetes-e2e-storage-kind-vac-feature
always_run: false
optional: true
decorate: true
path_alias: k8s.io/kubernetes
cluster: eks-prow-build-cluster
skip_branches:
- release-\d+\.\d+ # per-release settings
annotations:
testgrid-dashboards: presubmits-kubernetes-nonblocking
testgrid-tab-name: pull-kubernetes-e2e-storage-kind-vac-feature
testgrid-alert-email: kubernetes-sig-storage-test-failures@googlegroups.com
description: Run storage tests that need the VolumeAttributesClass feature in a KIND cluster.
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/krte:v20240111-cf1d81388e-master
command:
- wrapper.sh
- bash
- -c
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
env:
# EventedPLEG is disabled temporarily for https://github.com/kubernetes/kubernetes/issues/122721
- name: FEATURE_GATES
value: '{"VolumeAttributesClass":true, "EventedPLEG":false}'
- name: RUNTIME_CONFIG
value: '{"api/alpha":"true", "api/ga":"true"}'
- name: FOCUS
value: VolumeAttributesClass
- name: PARALLEL
value: "true"
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
requests:
cpu: "2"
memory: "6Gi"
limits:
cpu: "2"
memory: "6Gi"

periodics:
# This jobs runs storage tests that need Kubernetes In Docker (kind).
- name: ci-kubernetes-e2e-storage-kind-disruptive
Expand Down Expand Up @@ -100,3 +148,52 @@ periodics:
limits:
cpu: "2"
memory: "6Gi"

# This jobs runs e2e.test with a focus on tests for the VolumeAttributesClass feature (currently alpha)
# on a kind cluster
- name: ci-kubernetes-e2e-storage-kind-vac-feature
interval: 12h
annotations:
testgrid-dashboards: sig-storage-kubernetes
testgrid-tab-name: kind-vac-feature
testgrid-alert-email: kubernetes-sig-storage-test-failures@googlegroups.com
description: Run storage tests that need the VolumeAttributesClass feature in a KIND cluster.
decorate: true
extra_refs:
- org: kubernetes
repo: kubernetes
base_ref: master
path_alias: k8s.io/kubernetes
cluster: eks-prow-build-cluster
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/krte:v20240111-cf1d81388e-master
command:
- wrapper.sh
- bash
- -c
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
env:
# EventedPLEG is disabled temporarily for https://github.com/kubernetes/kubernetes/issues/122721
- name: FEATURE_GATES
value: '{"VolumeAttributesClass":true, "EventedPLEG":false}'
- name: RUNTIME_CONFIG
value: '{"api/alpha":"true", "api/ga":"true"}'
- name: FOCUS
value: VolumeAttributesClass
- name: PARALLEL
value: "true"
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
requests:
cpu: "2"
memory: "6Gi"
limits:
cpu: "2"
memory: "6Gi"

0 comments on commit 68df848

Please sign in to comment.