File tree Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "id" : " /micro/math-service" ,
3+ "args" : [
4+ " -u" ,
5+ " https://github.com/mesos-playground/MathService/releases/download/2017.09.16-1/MathService.tgz"
6+ ],
7+ "instances" : 1 ,
8+ "cpus" : 0.1 ,
9+ "mem" : 32 ,
10+ "disk" : 0 ,
11+ "gpus" : 0 ,
12+ "constraints" : [],
13+ "fetch" : [],
14+ "storeUrls" : [],
15+ "backoffSeconds" : 1 ,
16+ "backoffFactor" : 1.15 ,
17+ "maxLaunchDelaySeconds" : 3600 ,
18+ "container" : {
19+ "type" : " DOCKER" ,
20+ "volumes" : [],
21+ "docker" : {
22+ "image" : " mesosplayground/nsc" ,
23+ "network" : " USER" ,
24+ "portMappings" : [
25+ {
26+ "containerPort" : 3000 ,
27+ "hostPort" : 0 ,
28+ "servicePort" : 10101 ,
29+ "protocol" : " tcp" ,
30+ "name" : " math-service" ,
31+ "labels" : {
32+ "VIP_0" : " /micro/math-service:3000"
33+ }
34+ }
35+ ],
36+ "privileged" : false ,
37+ "parameters" : [],
38+ "forcePullImage" : false
39+ }
40+ },
41+ "healthChecks" : [
42+ {
43+ "gracePeriodSeconds" : 300 ,
44+ "intervalSeconds" : 60 ,
45+ "timeoutSeconds" : 20 ,
46+ "maxConsecutiveFailures" : 3 ,
47+ "portIndex" : 0 ,
48+ "path" : " /act?role=health&cmd=ping&ver=1" ,
49+ "protocol" : " MESOS_HTTP" ,
50+ "delaySeconds" : 15
51+ }
52+ ],
53+ "readinessChecks" : [],
54+ "dependencies" : [],
55+ "upgradeStrategy" : {
56+ "minimumHealthCapacity" : 1 ,
57+ "maximumOverCapacity" : 1
58+ },
59+ "ipAddress" : {
60+ "groups" : [],
61+ "networkName" : " dcos"
62+ },
63+ "unreachableStrategy" : {
64+ "inactiveAfterSeconds" : 300 ,
65+ "expungeAfterSeconds" : 600
66+ },
67+ "killSelection" : " YOUNGEST_FIRST" ,
68+ "requirePorts" : false
69+ }
You can’t perform that action at this time.
0 commit comments