Created
March 25, 2016 13:20
-
-
Save johnmccabe/641fb30ed9450ca74e53 to your computer and use it in GitHub Desktop.
Triggering the UNMANAGED ON_FIRE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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