Skip to content

Commit

Permalink
tune deployment timeout for cluster mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ndegory committed Aug 4, 2017
1 parent b3513af commit e1d4e88
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions cluster/agent/stacks/01-elasticsearch-cluster.ampmon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ services:
- elasticsearch-data:/opt/elasticsearch/data
labels:
io.amp.role: "infrastructure"
amp.service.stabilize.delay: "35s"
amp.service.stabilize.timeout: "90s"
amp.service.stabilize.delay: "45s"
amp.service.stabilize.timeout: "180s"
environment:
MIN_MASTER_NODES: 2
NETWORK_HOST: "_eth0_"
Expand Down
2 changes: 1 addition & 1 deletion cluster/agent/stacks/01-elasticsearch-cluster.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
image: appcelerator/alpine:3.6.0
networks:
- default
command: ["curl", "-sfm", "55", "${AMP_STACK:-amp}_elasticsearch:9200/_cluster/health?wait_for_status=green&timeout=50s" ]
command: ["curl", "-sfm", "65", "${AMP_STACK:-amp}_elasticsearch:9200/_cluster/health?wait_for_status=green&timeout=60s" ]
labels:
io.amp.role: "infrastructure"
io.amp.test:
Expand Down
4 changes: 2 additions & 2 deletions cluster/agent/stacks/01-elasticsearch-single.ampmon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ services:
- elasticsearch-data:/opt/elasticsearch/data
labels:
io.amp.role: "infrastructure"
amp.service.stabilize.delay: "10s"
amp.service.stabilize.timeout: "30s"
amp.service.stabilize.delay: "15s"
amp.service.stabilize.timeout: "35s"
environment:
NETWORK_HOST: "_eth0_"
JAVA_HEAP_SIZE: "${ES_JAVA_HEAP_SIZE:-1024}"
Expand Down
4 changes: 2 additions & 2 deletions cluster/agent/stacks/01-etcd-cluster.ampcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ services:
- "http://etcd:2379"
labels:
io.amp.role: "infrastructure"
amp.service.stabilize.delay: "10s"
amp.service.stabilize.timeout: "30s"
amp.service.stabilize.delay: "20s"
amp.service.stabilize.timeout: "40s"
deploy:
mode: replicated
replicas: 3
Expand Down
4 changes: 2 additions & 2 deletions cluster/agent/stacks/01-etcd-single.ampcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ services:
- "http://etcd:2379"
labels:
io.amp.role: "infrastructure"
amp.service.stabilize.delay: "5s"
amp.service.stabilize.timeout: "30s"
amp.service.stabilize.delay: "6s"
amp.service.stabilize.timeout: "40s"
deploy:
mode: replicated
replicas: 1
Expand Down

0 comments on commit e1d4e88

Please sign in to comment.