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 4625d59
Showing 1 changed file with 102 additions and 0 deletions.
102 changes: 102 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,58 @@ 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
cluster: eks-prow-build-cluster
optional: true
always_run: false
decorate: true
skip_branches:
- release-\d+\.\d+ # per-release settings
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
decoration_config:
timeout: 60m
grace_period: 15m
path_alias: k8s.io/kubernetes
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"
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.


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 +152,53 @@ 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
cluster: eks-prow-build-cluster
interval: 12h
decorate: true
skip_branches:
- release-\d+\.\d+ # per-release settings
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
decoration_config:
timeout: 60m
grace_period: 15m
path_alias: k8s.io/kubernetes
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"
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.

0 comments on commit 4625d59

Please sign in to comment.