Skip to content

Command line tool to drain tasks from your Mesosphere Marathon cluster.

License

Notifications You must be signed in to change notification settings

chuckwired/ber-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ber-kit

Toolkit used to manage invisible rolling upgrades of systems running atop a Marathon/Mesosphere stack. This is required until Marathon issue is resolved: mesosphere/marathon#2414

Original sources:

Usage

drain

Drain tasks from hosts running on specified IP addresses, so that you can safely perform maintenance on them. This works by addings the UNLIKE constraint for you.

Usage:

ber-kit drain --host http://marathon.example.com:8080 --urls 10.30.40.50,10.30.40.51

undrain

Once your migrations and rollovers are complete you need to cleanup and remove the temporary UNLIKE constraint. You can also use this to rollback should your upgrade fail.

Usage:

ber-kit undrain --host http://marathon.example.com:8080 --urls 10.30.40.50,10.30.40.51

Testing

You can run the built-in tests by running:

nosetests /path/to/ber-kit

You can install this by running pip install nose.

Licensing

Licensed under the GNU GPLv3 License. See LICENSE

About

Command line tool to drain tasks from your Mesosphere Marathon cluster.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages