marathonctl is a CLI tool for Marathon
marathonctl is a command line tool for Marathon
Binary downloads available! Get the latest from the releases page.
go install github.com/shoenig/marathonctl@latest# Add to ~/.bash_aliases
alias marathonctl='docker run --rm --net=host shoenig/marathonctl:latest'…marathon.host: [hosts] (ex http://node1.indeed.com,http://node2.indeed.com,http://node3.indeed.com)
marathon.user: [user]
marathon.password: [password]$ ./marathonctl -h http://marathon1:8080,http://marathon2:8080,http://marathon3:8080 -u user:pass marathon ping
HOST DURATION
http://marathon1:8080 11.004071ms
http://marathon2:8080 25.422ms
http://marathon3:8080 6.927772ms$ ./marathonctl -f jsonpp -c /etc/marathonctl.properties marathon leader
{
"leader": "tst-mcontrol1:8080"
} ./marathonctl -f json -c /etc/marathonctl.properties marathon abdicate
{"message":"Leadership abdicted"}…`
$ ./marathonctl -c /etc/marathonctl.properties app create sample/ping.google.json
APPID VERSION
/hoenig/ping-google 2015-04-07T21:41:53.440ZNo open issues yet, or sync has not completed.