Abattoir removes inactive hosts from rancher after validating that they no longer exist in EC2
817
#Abattoir Cleans up dead rancher hosts from rancher provided they no longer exist, currently depends on a custom API that provides a list of servers.
##Configuration
Requires the following environment variables to run
export ABATTOIR_RANCHER_ACCESS_KEY=<rancher access key>
export ABATTOIR_RANCHER_SECRET_KEY=<rancher secret key>
export ABATTOIR_RANCHER_URL=https://rancher.somedomain.com
export ABATTOIR_SERVER_API=https://ops-api-servers.somehwere.com
export ABATTOIR_RANCHER_PROJECT_ID=1a5
export ABATTOIR_RUN_INTERVAL=300
ABATTOIR_RANCHER_ACCESS_KEY
ABATTOIR_RANCHER_SECRET_KEY
ABATTOIR_RANCHER_URL
ABATTOIR_RANCHER_PROJECT_ID
ABATTOIR_SERVER_API
ABATTOIR_RUN_INTERVAL
##Running
docker-compose up
##Build
make all
Content type
Image
Digest
Size
248 MB
Last updated
almost 10 years ago
docker pull jensendw/abattoir