Skip to content

Instantly share code, notes, and snippets.

@pradeepchhetri
Last active August 29, 2015 14:12
Show Gist options
  • Save pradeepchhetri/6a0fb12a5a1bc286da1b to your computer and use it in GitHub Desktop.
Save pradeepchhetri/6a0fb12a5a1bc286da1b to your computer and use it in GitHub Desktop.
curl payload
{
"container": {
"docker": {
"image": "pradeep/test1",
"privileged": true,
"parameters": {
"publish-all": "true"
}
},
"type": "DOCKER",
"volumes": []
},
"cpus": 1,
"id": "python-app",
"instances": 10,
"mem": 250,
"ports": [
0
]
}
{
"id": "/python-app",
"cmd": null,
"args": null,
"user": null,
"env": {},
"instances": 10,
"cpus": 1,
"mem": 250,
"disk": 0,
"executor": "",
"constraints": [],
"uris": [],
"storeUrls": [],
"ports": [
0
],
"requirePorts": false,
"backoffSeconds": 1,
"backoffFactor": 1.15,
"container": {
"type": "DOCKER",
"volumes": [],
"docker": {
"image": "pradeep/test1",
"network": null,
"portMappings": null,
"privileged": true,
"parameters": {
"publish-all": "true"
}
}
},
"healthChecks": [],
"dependencies": [],
"upgradeStrategy": {
"minimumHealthCapacity": 1
},
"version": "2015-01-07T09:14:57.483Z"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment