--
You received this message because you are subscribed to the Google Groups "marathon-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marathon-framew...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "marathon-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marathon-framew...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to marathon-framew...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to marathon-framework+unsub...@googlegroups.com.
curl -X POST http://172.16.2.60:8080/v2/apps -d @sample-app.json -H "Content-type: application/json"
and the application deployed. Of course I have a modified docker image of jenkins and deploys without permission errors
I don't really understand the Json, but it works. I opened the developer tools in chrome and saw the json the browser sent to marathon.
{
"id": "/jenkins23",
"cmd": null,
"args": null,
"user": null,
"env": {},
"instances": 1,
"cpus": 1,
"mem": 512,
"disk": 1000,
"executor": "",
"constraints": [],
"uris": [],
"fetch": [],
"storeUrls": [],
"ports": [
8080,
50000
],
"portDefinitions": [
{
"port": 8080,
"protocol": "tcp",
"labels": {}
},
{
"port": 50000,
"protocol": "tcp",
"labels": {}
}
],
"requirePorts": false,
"backoffSeconds": 1,
"backoffFactor": 1.15,
"maxLaunchDelaySeconds": 3600,
"container": {
"type": "DOCKER",
"volumes": [
{
"containerPath": "/var/jenkins_home",
"hostPath": "jenkins_home",
"mode": "RW"
},
{
"containerPath": "jenkins_home",
"mode": "RW",
"persistent": {
"size": 200
}
}
],
"docker": {
"image": "jenkins",
"network": "HOST",
"privileged": false,
"parameters": [],
"forcePullImage": false
}
},
"healthChecks": [],
"dependencies": [],
"upgradeStrategy": {
"minimumHealthCapacity": 0.5,
"maximumOverCapacity": 0
},
"labels": {},
"acceptedResourceRoles": null,
"ipAddress": null,
"version": "2016-04-07T23:50:17.508Z",
"residency": {
"relaunchEscalationTimeoutSeconds": 10,
"taskLostBehavior": "WAIT_FOREVER"
},
"tasksStaged": 0,
"tasksRunning": 0,
"tasksHealthy": 0,
"tasksUnhealthy": 0,
"deployments": [
{
"id": "ed4294a1-aa5d-49a0-8dcf-31a933687112"
}
],
"tasks": []