Skip to content

Commit 059a3e5

Browse files
KaixiangAdam Stegman
authored andcommitted
Reduce size of etcd cluster
Having three etcd nodes gave a higher chance of inconsistency, which requires manual intervention. Signed-off-by: Adam Stegman <[email protected]>
1 parent bb939cb commit 059a3e5

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

templates/infrastructure-aws.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,10 @@ jobs:
2323
static_ips: (( static_ips(0) ))
2424

2525
- name: etcd_z2
26-
instances: 1
27-
networks:
28-
- name: diego2
29-
static_ips: (( static_ips(0) ))
26+
instances: 0
3027

3128
- name: etcd_z3
32-
instances: 1
33-
networks:
34-
- name: diego3
35-
static_ips: (( static_ips(0) ))
29+
instances: 0
3630

3731
- name: consul_z1
3832
instances: 1

templates/jobs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,11 @@ jobs:
324324
templates:
325325
- name: etcd
326326
- name: etcd_metrics_server
327-
instances: 1
327+
instances: 0
328328
resource_pool: medium_z2
329329
networks:
330330
- name: diego2
331-
static_ips: (( merge ))
331+
static_ips: []
332332
properties:
333333
network_name: diego2
334334
update:
@@ -339,11 +339,11 @@ jobs:
339339
templates:
340340
- name: etcd
341341
- name: etcd_metrics_server
342-
instances: 1
342+
instances: 0
343343
resource_pool: medium_z3
344344
networks:
345345
- name: diego3
346-
static_ips: (( merge ))
346+
static_ips: []
347347
properties:
348348
network_name: diego3
349349
update:

0 commit comments

Comments
 (0)