forked from d2iq-archive/marathon-autoscale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautoscale-sqs-noauth-marathon.json
56 lines (56 loc) · 1.36 KB
/
autoscale-sqs-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
53
54
55
56
{
"id": "/autoscale-sqs",
"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": "sqs",
"AS_MIN_INSTANCES": "1",
"AS_COOL_DOWN_FACTOR": "4",
"AS_MAX_INSTANCES": "5",
"AS_DCOS_MASTER": "http://leader.mesos",
"AS_AUTOSCALE_MULTIPLIER": "1.5",
"AS_SCALE_UP_FACTOR": "3",
"AS_MARATHON_APP": "/test/stress-sqs",
"AS_INTERVAL": "30",
"AS_QUEUE_URL": "https://sqs.us-east-1.amazonaws.com/ACCOUNT_NUMBER/test-auto-scale",
"AS_MIN_RANGE": "3",
"AS_MAX_RANGE": "10",
"AWS_DEFAULT_REGION": "us-east-1",
"AWS_ACCESS_KEY_ID": "CHANGEME",
"AWS_SECRET_ACCESS_KEY": "CHANGEME"
}
}