Skip to content

Instantly share code, notes, and snippets.

@philipnrmn
Created November 30, 2017 22:44
Show Gist options
  • Save philipnrmn/67693a620c0aeb79a6ee8bf4d4fa2f4a to your computer and use it in GitHub Desktop.
Save philipnrmn/67693a620c0aeb79a6ee8bf4d4fa2f4a to your computer and use it in GitHub Desktop.
This metronome job toggles the health of a random instance belonging to the marathon malinger task
{
"id": "malinger-toggle",
"labels": {},
"run": {
"cpus": 0.01,
"mem": 128,
"disk": 0,
"cmd": "curl -X POST http://malinger.marathon.l4lb.thisdcos.directory/toggle",
"env": {},
"placement": {
"constraints": []
},
"artifacts": [],
"maxLaunchDelay": 3600,
"volumes": [],
"restart": {
"policy": "NEVER"
}
},
"schedules": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment