Skip to content

Commit

Permalink
Merge pull request #33534 from aaron-prindle/compatibility-versions-test
Browse files Browse the repository at this point in the history
test(compatibility-versions): adds test script and periodic prow job for testing kubernetes feature compatibility versions
  • Loading branch information
k8s-ci-robot authored Oct 7, 2024
2 parents 7b0acf3 + e04333e commit f3ec85a
Show file tree
Hide file tree
Showing 3 changed files with 398 additions and 0 deletions.
54 changes: 54 additions & 0 deletions config/jobs/kubernetes/sig-testing/compatibility-versions-e2e.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
periodics:
- interval: 6h
cluster: k8s-infra-prow-build
name: ci-kubernetes-e2e-kind-compatibility-versions
annotations:
testgrid-dashboards: sig-testing-kind
testgrid-tab-name: compatibility-version-test
description: Uses kubetest & kind to run e2e tests from older (n-1..3) kubernetes releases against a latest kubernetes master components w/ --emulated-version=<n-1..3> set.
# TODO(aaron-prindle) route the alert email to a rotation vs individual email
testgrid-alert-email: aprindle@google.com
testgrid-num-columns-recent: '6'
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
decorate: true
decoration_config:
timeout: 60m
extra_refs:
- org: kubernetes
repo: test-infra
base_ref: master
path_alias: k8s.io/test-infra
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/krte:v20240903-6a352c5344-master
imagePullPolicy: Always # pull latest image for canary testing
command:
- wrapper.sh
- bash
- -c
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && "$(go env GOPATH)"/src/k8s.io/test-infra/experiment/compatibility-versions/e2e-k8s-compatibility-versions.sh
env:
- name: EMULATED_VERSION
value: "1.31" # TODO(aaron-prindle) FIXME - hardcoded for now
- name: SKIP
value: Alpha|Disruptive|Slow|Flaky|IPv6|LoadBalancer|PodSecurityPolicy|nfs
- name: PARALLEL
value: "true"
- name: FEATURE_GATES
value: '{"AllBeta":true}'
- name: RUNTIME_CONFIG
value: '{"api/beta":"true", "api/ga":"true"}'
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
limits:
memory: 9Gi
cpu: 7
requests:
# these are both a bit below peak usage during build
# this is mostly for building kubernetes
memory: 9Gi
cpu: 7
6 changes: 6 additions & 0 deletions experiment/compatibility-versions/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# See the OWNERS docs at https://go.k8s.io/owners

reviewers:
- aaron-prindle
approvers:
- aaron-prindle
Loading

0 comments on commit f3ec85a

Please sign in to comment.