-
Notifications
You must be signed in to change notification settings - Fork 2
/
marathon-coordinator.json
81 lines (81 loc) · 1.86 KB
/
marathon-coordinator.json
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
{
"id": "/es622-coordinator-prod",
"container": {
"type": "DOCKER",
"docker": {
"image": "docker.elastic.co/elasticsearch/elasticsearch-platinum:6.2.2",
"forcePullImage": true,
"privileged": false,
"parameters": [
{ "key": "ulimit", "value": "memlock=-1:-1" },
{ "key": "log-driver", "value": "none" }
]
},
"portMappings": [
{
"containerPort": 9300,
"labels": {
"VIP_0": "/coordinator6:9300"
},
"name": "es-protocol"
},
{
"containerPort": 9200,
"hostPort": 0,
"labels": {
"VIP_1": "/coordinator6:9200"
},
"protocol": "tcp",
"name": "es-http"
}
]
},
"instances": 3,
"cpus": 4,
"mem": 16384,
"env": {
"CONTAINER_LOGGER_LOGROTATE_MAX_STDOUT_SIZE": "10MB",
"CONTAINER_LOGGER_LOGROTATE_MAX_STDERR_SIZE": "10MB",
"ES_JAVA_OPTS": "-Xms8192m -Xmx8192m",
"bootstrap.memory_lock": "true",
"cluster.name": "es6-prod",
"node.name": "coordinator",
"node.master": "false",
"node.data": "false",
"node.ingest": "false",
"network.host": "0.0.0.0",
"discovery.zen.minimum_master_nodes": "2",
"discovery.zen.ping.unicast.hosts": "es6.marathon.l4lb.thisdcos.directory",
"path.data": "/usr/share/elasticsearch/data",
"ELASTIC_PASSWORD": "xxxxxx",
"reindex.remote.whitelist": "xxxxxx"
},
"labels": {
"HAPROXY_GROUP": "external",
"HAPROXY_1_VHOST": "coordinator.mydomain.com"
},
"networks": [
{
"name": "dcos",
"mode": "container"
}
],
"requirePorts": false,
"fetch": [],
"healthChecks": [],
"constraints": [
[
"hostname",
"UNIQUE"
],
[
"agent_type",
"LIKE",
"elastic"
]
],
"upgradeStrategy": {
"maximumOverCapacity": 0,
"minimumHealthCapacity": 0.5
}
}