Skip to content

Instantly share code, notes, and snippets.

@johnmccabe
Created March 25, 2016 13:20
Show Gist options
  • Select an option

  • Save johnmccabe/641fb30ed9450ca74e53 to your computer and use it in GitHub Desktop.

Select an option

Save johnmccabe/641fb30ed9450ca74e53 to your computer and use it in GitHub Desktop.
Triggering the UNMANAGED ON_FIRE
MARATHON_URL=http://xxx.xxx.xxx.xxx:8080
curl -X POST ${MARATHON_URL}/v2/apps -d @sample_marathon_task.json -H "Content-type: application/json"
{
"id": "mysubdir/basic-0",
"cmd": "while [ true ] ; do echo 'Hello Marathon' ; sleep 5 ; done",
"cpus": 0.1,
"mem": 10.0,
"instances": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment