|
1 | 1 | { |
2 | 2 | "id": "/website", |
3 | | - "args": [ |
4 | | - "-u", |
5 | | - "https://github.com/mesos-playground/webapi/releases/download/2017.09.17-2/webapi.tgz" |
6 | | - ], |
7 | | - "instances": 3, |
8 | | - "cpus": 0.1, |
9 | | - "mem": 128, |
10 | | - "disk": 0, |
11 | | - "gpus": 0, |
12 | | - "constraints": [], |
13 | | - "fetch": [], |
14 | | - "storeUrls": [], |
15 | | - "backoffSeconds": 1, |
16 | 3 | "backoffFactor": 1.15, |
17 | | - "maxLaunchDelaySeconds": 3600, |
| 4 | + "backoffSeconds": 1, |
18 | 5 | "container": { |
| 6 | + "portMappings": [ |
| 7 | + { |
| 8 | + "containerPort": 3000, |
| 9 | + "hostPort": 0, |
| 10 | + "labels": { |
| 11 | + "VIP_0": "/website:3000" |
| 12 | + }, |
| 13 | + "protocol": "tcp", |
| 14 | + "servicePort": 80, |
| 15 | + "name": "web" |
| 16 | + } |
| 17 | + ], |
19 | 18 | "type": "DOCKER", |
20 | 19 | "volumes": [], |
21 | 20 | "docker": { |
22 | | - "image": "mesosplayground/nsc", |
23 | | - "network": "USER", |
24 | | - "portMappings": [ |
25 | | - { |
26 | | - "containerPort": 3000, |
27 | | - "hostPort": 0, |
28 | | - "servicePort": 80, |
29 | | - "protocol": "tcp", |
30 | | - "name": "web", |
31 | | - "labels": { |
32 | | - "VIP_0": "/website:3000" |
33 | | - } |
34 | | - } |
35 | | - ], |
| 21 | + "image": "mesosplayground/nsc:boron", |
| 22 | + "forcePullImage": false, |
36 | 23 | "privileged": false, |
37 | | - "parameters": [], |
38 | | - "forcePullImage": false |
| 24 | + "parameters": [] |
39 | 25 | } |
40 | 26 | }, |
| 27 | + "cpus": 0.1, |
| 28 | + "disk": 0, |
41 | 29 | "healthChecks": [ |
42 | 30 | { |
43 | 31 | "gracePeriodSeconds": 300, |
44 | 32 | "intervalSeconds": 60, |
45 | | - "timeoutSeconds": 20, |
46 | 33 | "maxConsecutiveFailures": 3, |
47 | 34 | "portIndex": 0, |
48 | | - "path": "/api/health/_ping", |
| 35 | + "timeoutSeconds": 20, |
| 36 | + "delaySeconds": 15, |
49 | 37 | "protocol": "MESOS_HTTP", |
50 | | - "delaySeconds": 15 |
| 38 | + "path": "/api/health/_ping" |
51 | 39 | } |
52 | 40 | ], |
53 | | - "readinessChecks": [], |
54 | | - "dependencies": [], |
55 | | - "upgradeStrategy": { |
56 | | - "minimumHealthCapacity": 1, |
57 | | - "maximumOverCapacity": 1 |
| 41 | + "instances": 1, |
| 42 | + "labels": { |
| 43 | + "HAPROXY_GROUP": "external" |
58 | 44 | }, |
59 | | - "ipAddress": { |
60 | | - "groups": [], |
61 | | - "networkName": "dcos" |
| 45 | + "maxLaunchDelaySeconds": 3600, |
| 46 | + "mem": 128, |
| 47 | + "gpus": 0, |
| 48 | + "networks": [ |
| 49 | + { |
| 50 | + "name": "dcos", |
| 51 | + "mode": "container" |
| 52 | + } |
| 53 | + ], |
| 54 | + "requirePorts": false, |
| 55 | + "upgradeStrategy": { |
| 56 | + "maximumOverCapacity": 1, |
| 57 | + "minimumHealthCapacity": 1 |
62 | 58 | }, |
| 59 | + "killSelection": "YOUNGEST_FIRST", |
63 | 60 | "unreachableStrategy": { |
64 | 61 | "inactiveAfterSeconds": 300, |
65 | 62 | "expungeAfterSeconds": 600 |
66 | 63 | }, |
67 | | - "killSelection": "YOUNGEST_FIRST", |
68 | | - "requirePorts": false, |
69 | | - "labels": { |
70 | | - "HAPROXY_GROUP": "external" |
71 | | - } |
| 64 | + "fetch": [ |
| 65 | + { |
| 66 | + "uri": "https://github.com/mesos-playground/webapi/releases/download/2017.09.22-1/bundle.tgz" |
| 67 | + } |
| 68 | + ], |
| 69 | + "constraints": [] |
72 | 70 | } |
0 commit comments