Skip to content

premium-minds/spotdrain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 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

No packages published

Contributors 3

  •  
  •  
  •