-
Notifications
You must be signed in to change notification settings - Fork 14
/
marathon-test-app.json
51 lines (51 loc) · 1.01 KB
/
marathon-test-app.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
{
"id": "/cool-test-python-1",
"cmd": "python -m SimpleHTTPServer $PORT0",
"cpus": 0.1,
"mem": 128,
"disk": 0,
"instances": 1,
"acceptedResourceRoles": [
"*"
],
"env": {
"ALLEGRO_EXECUTOR_HTTP_TIMEOUT": "3s",
"ALLEGRO_EXECUTOR_DEBUG": "true"
},
"executor": "./executor",
"healthChecks": [
{
"gracePeriodSeconds": 300,
"intervalSeconds": 60,
"timeoutSeconds": 20,
"maxConsecutiveFailures": 3,
"portIndex": 0,
"path": "/",
"protocol": "HTTP",
"ignoreHttp1xx": false
}
],
"labels": {
"artifactId": "cool-test-python",
"groupId": "com.example",
"version": "1.0.0",
"consul": "cool-test-python",
"vip": "cool-test-python",
"serviceId": "com.example.cool-test-python"
},
"portDefinitions": [
{
"port": 10000,
"protocol": "tcp",
"labels": {}
}
],
"fetch": [
{
"uri": "http://localhost/executor",
"extract": true,
"executable": false,
"cache": false
}
]
}