Skip to content

Instantly share code, notes, and snippets.

@rodrickbrown
Created April 13, 2016 15:40
Show Gist options
  • Select an option

  • Save rodrickbrown/a2b9dfc1aa5c955fa30b9cad7ba0c27a to your computer and use it in GitHub Desktop.

Select an option

Save rodrickbrown/a2b9dfc1aa5c955fa30b9cad7ba0c27a to your computer and use it in GitHub Desktop.
{
"id": "qa/account-service",
"cmd": "env && /opt/orchard/qa/account-server/bin/run_jar.sh",
"cpus": 0.3,
"mem": 2048,
"disk": 1000,
"user": "orchard",
"instances": 1,
"acceptedResourceRoles": [
"qa"
],
"requirePorts": false,
"ports": [
0,
0,
0
],
"labels": {
"ENV": "qa",
"HAPROXY_GROUP": "qa"
},
"maxLaunchDelaySeconds": 3,
"backoffFactor": 1.20,
"healthChecks": [
{
"gracePeriodSeconds": 3,
"intervalSeconds": 5,
"maxConsecutiveFailures": 3,
"portIndex": 1,
"protocol": "TCP",
"timeoutSeconds": 5
}
],
"upgradeStrategy": {
"minimumHealthCapacity": 0.5,
"maximumOverCapacity": 0.2
}
}
# cat /etc/mesos-slave/default_role
qa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment