Last active
August 29, 2015 14:20
-
-
Save BlakeLucchesi/ee423bb644f25c376e18 to your computer and use it in GitHub Desktop.
Chronos/Marathon Job
This file contains 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
{ | |
"schedule": "R\/2014-09-25T17:22:00Z\/PT2M", | |
"name": "dockerjob", | |
"container": { | |
"type": "DOCKER", | |
"image": "libmesos/ubuntu", | |
}, | |
"cpus": "0.5", | |
"mem": "512", | |
"command": "while sleep 10; do date =u %T; done" | |
} |
This file contains 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
name: facebook_slug_crawler | |
owner: rene@mattermark.com | |
schedule: R/2015-04-07T16:00:00Z/PT1M | |
cpu: 1.0 | |
mem: 512 | |
docker_container: mattermark/python-framework | |
command: cd /root/mattermark/python; python mattermark/crawlers/facebookslugcrawler.py 5 |
This file contains 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": "/product/service/my-app", | |
"cmd": "env && sleep 300", | |
"args": ["/bin/sh", "-c", "env && sleep 300"], | |
"container": { | |
"type": "DOCKER", | |
"docker": { | |
"image": "group/image", | |
"network": "BRIDGE", | |
}, | |
}, | |
"cpus": 1.5, | |
"mem": 256.0, | |
"env": { | |
"LD_LIBRARY_PATH": "/usr/local/lib/myLib" | |
}, | |
"executor": "", | |
"labels": { | |
"environment": "staging" | |
}, | |
"instances": 3, | |
"ports": [ | |
8080, | |
9000 | |
], | |
"backoffSeconds": 1, | |
"backoffFactor": 1.15, | |
"maxLaunchDelaySeconds": 3600, | |
"uris": [ | |
"https://raw.github.com/mesosphere/marathon/master/README.md" | |
], | |
"version": "2014-03-01T23:29:30.158Z" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment