Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

premium-minds/spotdrain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotdrain

A daemon to drain nomad nodes upon arrival of a EC2 Spot Instance Interruption Notice. Additionally, an event is sent to the Datadog API.

How to run

$ export SPOTDRAIN_NOMAD_TOKEN='<nomad_token>' # Token for authentication with Nomad Node
$ export DD_CLIENT_APP_KEY="<dd_app_key>"
$ export DD_CLIENT_API_KEY="<dd_api_key>" # API and APP Keys for authentication with DD API
$ /path/to/spotdrain

License

GitHub

Copyright (C) 2023 Premium Minds

Licensed under the GNU Lesser General Public Licence

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors