百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

marathonctl

> 编程语言
开源

marathonctl 是一个用于 Marathon 的 CLI 工具

100 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

marathonctl 是一个用于 Marathon 的 CLI 工具

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Go

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

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