Skip to content
/ babe Public
forked from PhonePe/babe

Management script for marathon. Named after the lead character in Marathon Man

Notifications You must be signed in to change notification settings

koushikr/babe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 

Repository files navigation

Babe

A script to manage services running on Marathon.

Supported Operations

The following operations are supported:

  • list: List all running processes
  • info: Get information about a running service
  • deploy: Deploy a service to marathon
  • restart: Restart a service gracefully by taking nodes OOR on Ranger while maintaining capacity
  • scale: Scale a service up or down by taking it OOR on Ranger gracefully
  • suspend: Suspend a service

Options and documentation

There is no separate documentation. The service ecosystem can be understood from reading the following presentation.

Use the following to get options:

babe -h

Use babe -h to get command specific options.

Installtation

Run the following to install the required dependencies:

sudo easy_install argparse requests time tabulate colored

Sample invocation

babe -e marathon.yourdomain.com:8080 list

License

Apache 2

About

Management script for marathon. Named after the lead character in Marathon Man

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%