Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

marathonctl

> 编程语言
Open source

marathonctl is a CLI tool for Marathon

100 stars0 likes0 views
WebsiteGitHub

About

marathonctl is a CLI tool for Marathon

marathonctl

marathonctl is a command line tool for Marathon

Install

binary

Binary downloads available! Get the latest from the releases page.

source

go install github.com/shoenig/marathonctl@latest

docker

# Add to ~/.bash_aliases
alias marathonctl='docker run --rm --net=host shoenig/marathonctl:latest'

Usage

…

Configuration

  • Specify using "-c [file]" or "-h [host:port]"

Configuration Properties

marathon.host: [hosts] (ex http://node1.indeed.com,http://node2.indeed.com,http://node3.indeed.com)
marathon.user: [user]
marathon.password: [password]

Examples

Ping

  • This example demonstrates -h, -u for host/login information
$ ./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

Leader

  • This example demonstrates -c and a file for host/login information
  • This example demonstrates -f and the jsonpp (pretty printed json) output format
$ ./marathonctl -f jsonpp -c /etc/marathonctl.properties marathon leader
{
    "leader": "tst-mcontrol1:8080"
}

Abdicate

  • This example demonstrates -f to specify one-line json output format
 ./marathonctl -f json -c /etc/marathonctl.properties marathon abdicate
{"message":"Leadership abdicted"}

Group List

  • This example demonstrates the default human readable output
…

`

App Create

  • This example demonstrates creating an app as specified in a json file
$ ./marathonctl -c /etc/marathonctl.properties app create sample/ping.google.json
APPID                VERSION
/hoenig/ping-google  2015-04-07T21:41:53.440Z

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Go

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言