Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.
/ dscaler Public archive

digitalocean infrastructure scaling for docker swarms

License

Notifications You must be signed in to change notification settings

ndjuric/dscaler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dscaler

Digitalocean infrastructure scaling for docker swarms. Partial functionality. Under heavy development.

install doctl

$ cd ~
$ wget https://github.com/digitalocean/doctl/releases/download/v1.6.1/doctl-1.6.1-linux-amd64.tar.gz
$ tar -xvzf ~/doctl-1.6.1-linux-amd64.tar.gz
$ sudo install ~/doctl /usr/local/bin

authenticate with digitalocean

$ doctl auth init
DigitalOcean access token: your_access_token
Validating token: OK

run the scaling script

$ python cli.py -t tagPrefix -a build
$ python cli.py -t tagPrefix -a destroy
$ python cli.py -t tagPrefix -a deploy
$ python cli.py -t tagPrefix -a add_worker
$ python cli.py -t tagPrefix -a add_manager
$ python cli.py -t tagPrefix -a remove_worker
$ python cli.py -t tagPrefix -a remove_manager

About

digitalocean infrastructure scaling for docker swarms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published