Skip to content

Instantly share code, notes, and snippets.

@richtera
Created March 20, 2015 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richtera/1de1055cde2543dded7c to your computer and use it in GitHub Desktop.
Save richtera/1de1055cde2543dded7c to your computer and use it in GitHub Desktop.
{
"id": "/test1",
"instances": 1,
"shell": false,
"container": {
"type": "DOCKER",
"docker": {
"image": "jimho/tcp-echo"
}
},
"cpus": 0.1,
"mem": 10,
"maxLaunchDelaySeconds": 10,
"ports": [
0
],
"args": [],
"healthChecks": [{
"portIndex": 0,
"protocol": "TCP",
"gracePeriodSeconds": 300,
"intervalSeconds": 5,
"timeoutSeconds": 4,
"maxConsecutiveFailures": 0
}],
"version": "2014-03-01T23:29:30.158Z"
}
{
"id": "/test2",
"instances": 2,
"shell": false,
"container": {
"type": "DOCKER",
"docker": {
"image": "jimho/tcp-echo"
}
},
"cpus": 0.1,
"mem": 10,
"dependencies": ["/test1"],
"maxLaunchDelaySeconds": 10,
"ports": [
0
],
"healthChecks": [{
"portIndex": 0,
"protocol": "TCP",
"gracePeriodSeconds": 300,
"intervalSeconds": 5,
"timeoutSeconds": 4,
"maxConsecutiveFailures": 0
}],
"args": [],
"version": "2014-03-01T23:29:30.158Z",
"constraints": [["hostname", "LIKE", "node2"]]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment