This repository has been archived by the owner on Aug 14, 2022. It is now read-only.
forked from tobilg/mesos-framework-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
marathon.example.json
89 lines (89 loc) · 1.95 KB
/
marathon.example.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
82
83
84
85
86
87
88
89
{
"id": "/druid-framework",
"connected": true,
"recovered": false,
"TASK_UNREACHABLE": 0,
"instances": 1,
"cpus": 1,
"mem": 1024,
"disk": 0,
"gpus": 0,
"constraints": [],
"fetch": [
{
"uri": "<REGISTRY_AUTH_URL>/docker.tar.gz",
"extract": true,
"executable": false,
"cache": false
},
{
"uri": "<DRUID_MODULE_URL>/druid.tar.gz",
"extract": true,
"executable": false,
"cache": false
}
],
"storeUrls": [],
"backoffSeconds": 1,
"backoffFactor": 1.15,
"maxLaunchDelaySeconds": 3600,
"container": {
"type": "DOCKER",
"volumes": [],
"docker": {
"image": "<framework-core-image>:0.1",
"network": "HOST",
"portMappings": [],
"privileged": false,
"parameters": [],
"forcePullImage": true
}
},
"healthChecks": [
{
"gracePeriodSeconds": 30,
"intervalSeconds": 10,
"timeoutSeconds": 20,
"maxConsecutiveFailures": 3,
"portIndex": 0,
"path": "/health",
"protocol": "HTTP",
"ignoreHttp1xx": false
}
],
"readinessChecks": [],
"dependencies": [],
"upgradeStrategy": {
"minimumHealthCapacity": 0,
"maximumOverCapacity": 0
},
"unreachableStrategy": {
"inactiveAfterSeconds": 300,
"expungeAfterSeconds": 600
},
"killSelection": "YOUNGEST_FIRST",
"acceptedResourceRoles": [
"*"
],
"portDefinitions": [
{
"port": 10087,
"protocol": "tcp"
}
],
"requirePorts": true,
"labels": {
"DCOS_SERVICE_SCHEME": "http",
"DCOS_SERVICE_NAME": "druid-framework",
"DCOS_PACKAGE_FRAMEWORK_NAME": "druid-framework",
"DCOS_SERVICE_PORT_INDEX": "0"
},
"env": {
"UPGRADE_CONFIG_SERVICE": "fw-upgrade-service.delivery",
"PREVIOUS_CONFIG_VERSION": "1.00",
"CONFIG_VERSION": "1.01",
"FRAMEWORK_TYPE": "druid-framework",
"FRAMEWORK_NAME": "druid-framework",
"CREDENTIALS_URL": "<CREDENTIALS_URL>/credentials.sh"
}
}