Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
port the updates to the new amp-agent stack files
Browse files Browse the repository at this point in the history
ndegory committed Jul 17, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent a0ecf79 commit 28cd526
Showing 9 changed files with 66 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cluster/agent/stacks/01-elasticsearch-cluster.amp.yml
Original file line number Diff line number Diff line change
@@ -11,11 +11,11 @@ volumes:
services:

elasticsearch:
image: appcelerator/elasticsearch-amp:5.4.2
image: appcelerator/elasticsearch-amp:5.5.0
networks:
- default
volumes:
- elasticsearch-data:/opt/elasticsearch-5.4.2/data
- elasticsearch-data:/opt/elasticsearch/data
labels:
io.amp.role: "infrastructure"
amp.service.stabilize.delay: "15s"
4 changes: 2 additions & 2 deletions cluster/agent/stacks/01-elasticsearch-single.amp.yml
Original file line number Diff line number Diff line change
@@ -11,11 +11,11 @@ volumes:
services:

elasticsearch:
image: appcelerator/elasticsearch-amp:5.4.2
image: appcelerator/elasticsearch-amp:5.5.0
networks:
- default
volumes:
- elasticsearch-data:/opt/elasticsearch-5.4.2/data
- elasticsearch-data:/opt/elasticsearch/data
labels:
io.amp.role: "infrastructure"
amp.service.stabilize.delay: "10s"
2 changes: 1 addition & 1 deletion cluster/agent/stacks/01-etcd-cluster.amp.yml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ volumes:
services:

etcd:
image: appcelerator/etcd:3.1.9
image: appcelerator/etcd:3.1.10
networks:
default:
volumes:
2 changes: 1 addition & 1 deletion cluster/agent/stacks/01-etcd-single.amp.yml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ volumes:
services:

etcd:
image: appcelerator/etcd:3.1.9
image: appcelerator/etcd:3.1.10
networks:
default:
volumes:
30 changes: 30 additions & 0 deletions cluster/agent/stacks/02-logstash.amp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: "3"

networks:
default:
external:
name: ampnet

volumes:
logstash-data:

services:

logstash:
image: appcelerator/amp-logstash:5.5.0
networks:
- default
volumes:
- logstash-data:/usr/share/logstash/data
deploy:
mode: replicated
replicas: 1
labels:
io.amp.role: "infrastructure"
placement:
constraints:
- node.labels.amp.type.core == true
labels:
io.amp.role: "infrastructure"
amp.service.stabilize.delay: "5s"
amp.service.stabilize.timeout: "20s"
28 changes: 28 additions & 0 deletions cluster/agent/stacks/02-logstash.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: "3.1"

networks:
default:
external:
name: ampnet

services:

logstash:
image: appcelerator/alpine:3.6.0
networks:
- default
command: ["curl", "-sfm", "5", "${AMP_STACK:-amp}_logstash:9600/"]
labels:
io.amp.role: "infrastructure"
io.amp.test:
deploy:
mode: replicated
replicas: 1
labels:
io.amp.role: "infrastructure"
io.amp.test:
placement:
constraints:
- node.labels.amp.type.core == true
restart_policy:
condition: none
File renamed without changes.
2 changes: 1 addition & 1 deletion cluster/agent/stacks/03-kibana.amp.yml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ networks:
services:

kibana:
image: appcelerator/kibana:5.4.2
image: appcelerator/kibana:5.5.0
networks:
- default
deploy:
2 changes: 1 addition & 1 deletion cluster/agent/stacks/07-grafana.amp.yml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ volumes:
services:

grafana:
image: appcelerator/grafana-amp:1.2.3
image: appcelerator/grafana-amp:1.2.4
networks:
- default
volumes:

0 comments on commit 28cd526

Please sign in to comment.