forked from d2iq-archive/marathon-autoscale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautoscale-mem-noauth-marathon.json
52 lines (52 loc) · 1.16 KB
/
autoscale-mem-noauth-marathon.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
{
"id": "/autoscale-mem",
"instances": 1,
"cpus": 0.1,
"mem": 128,
"disk": 0,
"gpus": 0,
"constraints": [],
"fetch": [],
"storeUrls": [],
"backoffSeconds": 1,
"backoffFactor": 1.15,
"maxLaunchDelaySeconds": 3600,
"container": {
"type": "DOCKER",
"volumes": [],
"docker": {
"image": "adamiezzi/marathon-autoscale",
"portMappings": [],
"privileged": false,
"parameters": [],
"forcePullImage": true
}
},
"healthChecks": [],
"readinessChecks": [],
"dependencies": [],
"upgradeStrategy": {
"minimumHealthCapacity": 1,
"maximumOverCapacity": 1
},
"unreachableStrategy": {
"inactiveAfterSeconds": 300,
"expungeAfterSeconds": 600
},
"killSelection": "YOUNGEST_FIRST",
"portDefinitions": [],
"requirePorts": false,
"env": {
"AS_TRIGGER_MODE": "mem",
"AS_MIN_INSTANCES": "1",
"AS_COOL_DOWN_FACTOR": "4",
"AS_MAX_INSTANCES": "6",
"AS_DCOS_MASTER": "http://leader.mesos",
"AS_MAX_RANGE": "80",
"AS_MIN_RANGE": "45",
"AS_AUTOSCALE_MULTIPLIER": "1.5",
"AS_SCALE_UP_FACTOR": "3",
"AS_MARATHON_APP": "/test/stress-memory",
"AS_INTERVAL": "30"
}
}