-
Notifications
You must be signed in to change notification settings - Fork 220
/
docker-compose.yml
164 lines (138 loc) · 3.03 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
version: '2'
services:
baseline_app1:
build: .
networks:
default:
aliases:
- baseline_app
baseline_app2:
build: .
command: -latency=10ms
networks:
default:
aliases:
- baseline_app
baseline_app3:
build: .
command: -latency=20ms
networks:
default:
aliases:
- baseline_app
baseline_app4:
build: .
command: -latency=40ms
networks:
default:
aliases:
- baseline_app
baseline_app5:
build: .
command: -latency=80ms
networks:
default:
aliases:
- baseline_app
baseline_app6:
build: .
command: -latency=160ms
networks:
default:
aliases:
- baseline_app
baseline_app7:
build: .
command: -latency=320ms
networks:
default:
aliases:
- baseline_app
baseline_app8:
build: .
command: -latency=640ms
networks:
default:
aliases:
- baseline_app
baseline_app9:
build: .
command: -latency=1s -success-rate=0.6
networks:
default:
aliases:
- baseline_app
baseline_app10:
build: .
command: -latency=2s -success-rate=0.4
networks:
default:
aliases:
- baseline_app
linkerd_app1:
build: .
linkerd_app2:
build: .
command: -latency=10ms
linkerd_app3:
build: .
command: -latency=20ms
linkerd_app4:
build: .
command: -latency=40ms
linkerd_app5:
build: .
command: -latency=80ms
linkerd_app6:
build: .
command: -latency=160ms
linkerd_app7:
build: .
command: -latency=320ms
linkerd_app8:
build: .
command: -latency=640ms
linkerd_app9:
build: .
command: -latency=1s -success-rate=0.6
linkerd_app10:
build: .
command: -latency=2s -success-rate=0.4
linkerd:
image: buoyantio/linkerd:1.4.6
ports:
- 4140:4140
- 9990:9990
volumes:
- ./linkerd.yml:/io/buoyant/linkerd/config.yml:ro
- ./disco:/disco
command:
- "/io/buoyant/linkerd/config.yml"
prometheus:
image: prom/prometheus:v1.4.1
volumes:
- ./prometheus.yml:/prometheus/prometheus.yml:ro
command: >
-config.file=/prometheus/prometheus.yml
-storage.local.retention=12h
ports:
- 9090:9090
grafana:
build:
context: .
dockerfile: Dockerfile-grafana
ports:
- 3000:3000
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
baseline_slow_cooker:
image: buoyantio/slow_cooker:1.1.0-golang1.8rc2
entrypoint: /bin/sh
command: >
-c 'sleep 15 && slow_cooker -noreuse -metric-addr :8505 -qps 10 -concurrency 50 -interval 5s -totalRequests 10000000 http://baseline_app:8501'
linkerd_slow_cooker:
image: buoyantio/slow_cooker:1.1.0-golang1.8rc2
entrypoint: /bin/sh
command: >
-c 'sleep 15 && slow_cooker -noreuse -metric-addr :8505 -qps 10 -concurrency 50 -interval 5s -totalRequests 10000000 http://linkerd:4140'