Skip to content

Commit 7d19b11

Browse files
committed
etcd-benchmark: modify compose/ansible yaml files
1 parent f9bbad5 commit 7d19b11

File tree

5 files changed

+38
-1
lines changed

5 files changed

+38
-1
lines changed

cloudlab-ansible/docker_images.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
tasks:
77
- name: Pre-pull
88
shell: |
9+
docker pull rmlu/etcd-benchmark:latest
910
docker pull rmlu/sysbench:latest
1011
docker pull amazoncorretto:latest
1112
docker pull bitnami/kafka:3.5

tools/docker-etcd/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
## Misc
12

2-
# etcd
3+
* (2023-11-10) Add support to etcd-benchmarking tool. Running as a separate docker container. Links:
4+
* https://github.com/OrderLab/xinda-etcd-benchmark
5+
* https://hub.docker.com/r/rmlu/etcd-benchmark
36

47
## Start in docker
58

tools/docker-etcd/docker-compose-etcd0.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,17 @@ services:
6868
depends_on:
6969
etcd0:
7070
condition: service_started
71+
etcd-benchmark:
72+
image: rmlu/etcd-benchmark:latest
73+
container_name: etcd-benchmark
74+
privileged: true
75+
depends_on:
76+
- etcd0
77+
- etcd1
78+
- etcd2
79+
command: tail -f /dev/null
80+
networks:
81+
- etcd
7182

7283
networks:
7384
etcd:

tools/docker-etcd/docker-compose-etcd1.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,17 @@ services:
6868
depends_on:
6969
etcd1:
7070
condition: service_started
71+
etcd-benchmark:
72+
image: rmlu/etcd-benchmark:latest
73+
container_name: etcd-benchmark
74+
privileged: true
75+
depends_on:
76+
- etcd0
77+
- etcd1
78+
- etcd2
79+
command: tail -f /dev/null
80+
networks:
81+
- etcd
7182

7283
networks:
7384
etcd:

tools/docker-etcd/docker-compose.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@ services:
7878
# max-size: "1m"
7979
# max-file: "5"
8080
restart: always
81+
etcd-benchmark:
82+
image: rmlu/etcd-benchmark:latest
83+
container_name: etcd-benchmark
84+
privileged: true
85+
depends_on:
86+
- etcd0
87+
- etcd1
88+
- etcd2
89+
command: tail -f /dev/null
90+
networks:
91+
- etcd
8192

8293
# nginx:
8394
# image: nginx:alpine

0 commit comments

Comments
 (0)