dns-loadbalancer

Loadbalance via Cloudflare DNS, using prometheus queries as health check

dns-loadbalancer

Changes DNS records with Cloudflare on a interval (round robin style but with interval), or if a service is detected to be overloaded or unavailable, tracked via prometheus queries.

Instructions

Pass the following as ENV vars, preferably probably .env

CLOUDFLARE_TOKEN=abcdefghijklmnopqrstuvwxyz
ZONE=4abe1fe2add41273f25ec0eb54455df38

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/greenbigfrog/dns-loadbalancer/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

dns-loadbalancer

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 2
  • about 3 years ago
  • February 19, 2021
License

MIT License

Links
Synced at

Sat, 27 Apr 2024 05:42:24 GMT

Languages