Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 667 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 667 Bytes

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