-
-
Save bbhoss/813acc45aa0ea8ac646a to your computer and use it in GitHub Desktop.
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: [email protected] | |
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