Skip to content

Commit

Permalink
etcd: add benchmark periodic jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvc committed Apr 10, 2024
1 parent 2de5004 commit c199288
Showing 1 changed file with 195 additions and 0 deletions.
195 changes: 195 additions & 0 deletions config/jobs/etcd/etcd-periodics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,198 @@ periodics:
# fuse needs privileged mode
securityContext:
privileged: true
- name: ci-etcd-performance-ratio-1-128-amd64
interval: 24h
cluster: eks-prow-build-cluster
decorate: true
decoration_config:
timeout: 4h
extra_refs:
- org: etcd-io
repo: etcd
base_ref: main
annotations:
testgrid-dashboards: sig-etcd-periodics
testgris-tab-name: ci-etcd-performance-amd64
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240310-bac0a3c105-master
command:
- runner.sh
args:
- bash
- -c
- |
apt update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
make install-lazyfs
set -euo pipefail
make build tools
RATIO_LIST=1/128 ./tools/rw-heatmaps/rw-benchmark.sh
cp result-*.csv "${ARTIFACTS}/result-$(git rev-parse HEAD).csv"
resources:
requests:
cpu: "7"
memory: "4Gi"
limits:
cpu: "7"
memory: "4Gi"
# fuse needs privileged mode
securityContext:
privileged: true
- name: ci-etcd-performance-ratio-1-8-amd64
interval: 24h
cluster: eks-prow-build-cluster
decorate: true
decoration_config:
timeout: 10h
extra_refs:
- org: etcd-io
repo: etcd
base_ref: main
annotations:
testgrid-dashboards: sig-etcd-periodics
testgris-tab-name: ci-etcd-performance-amd64
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240310-bac0a3c105-master
command:
- runner.sh
args:
- bash
- -c
- |
apt update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
make install-lazyfs
set -euo pipefail
make build tools
RATIO_LIST=1/8 ./tools/rw-heatmaps/rw-benchmark.sh
cp result-*.csv "${ARTIFACTS}/result-$(git rev-parse HEAD).csv"
resources:
requests:
cpu: "7"
memory: "8Gi"
limits:
cpu: "7"
memory: "8Gi"
# fuse needs privileged mode
securityContext:
privileged: true
- name: ci-etcd-performance-ratio-1-4-amd64
interval: 24h
cluster: eks-prow-build-cluster
decorate: true
decoration_config:
timeout: 14h
extra_refs:
- org: etcd-io
repo: etcd
base_ref: main
annotations:
testgrid-dashboards: sig-etcd-periodics
testgris-tab-name: ci-etcd-performance-amd64
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240310-bac0a3c105-master
command:
- runner.sh
args:
- bash
- -c
- |
apt update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
make install-lazyfs
set -euo pipefail
make build tools
RATIO_LIST=1/4 ./tools/rw-heatmaps/rw-benchmark.sh
cp result-*.csv "${ARTIFACTS}/result-$(git rev-parse HEAD).csv"
resources:
requests:
cpu: "7"
memory: "8Gi"
limits:
cpu: "7"
memory: "8Gi"
# fuse needs privileged mode
securityContext:
privileged: true
- name: ci-etcd-performance-ratio-1-2-amd64
interval: 24h
cluster: eks-prow-build-cluster
decorate: true
decoration_config:
timeout: 16h
extra_refs:
- org: etcd-io
repo: etcd
base_ref: main
annotations:
testgrid-dashboards: sig-etcd-periodics
testgris-tab-name: ci-etcd-performance-amd64
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240310-bac0a3c105-master
command:
- runner.sh
args:
- bash
- -c
- |
apt update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
make install-lazyfs
set -euo pipefail
make build tools
RATIO_LIST=1/2 ./tools/rw-heatmaps/rw-benchmark.sh
cp result-*.csv "${ARTIFACTS}/result-$(git rev-parse HEAD).csv"
resources:
requests:
cpu: "7"
memory: "10Gi"
limits:
cpu: "7"
memory: "10Gi"
# fuse needs privileged mode
securityContext:
privileged: true
- name: ci-etcd-performance-ratio-2-1-amd64
interval: 24h
cluster: eks-prow-build-cluster
decorate: true
decoration_config:
timeout: 16h
extra_refs:
- org: etcd-io
repo: etcd
base_ref: main
annotations:
testgrid-dashboards: sig-etcd-periodics
testgris-tab-name: ci-etcd-performance-amd64
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240310-bac0a3c105-master
command:
- runner.sh
args:
- bash
- -c
- |
apt update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
make install-lazyfs
set -euo pipefail
make build tools
RATIO_LIST=2/1 ./tools/rw-heatmaps/rw-benchmark.sh
cp result-*.csv "${ARTIFACTS}/result-$(git rev-parse HEAD).csv"
resources:
requests:
cpu: "7"
memory: "10Gi"
limits:
cpu: "7"
memory: "10Gi"
# fuse needs privileged mode
securityContext:
privileged: true

0 comments on commit c199288

Please sign in to comment.