Git Product home page Git Product logo

Comments (5)

darkcrux avatar darkcrux commented on August 19, 2024

You can run consul-alerts on a single node or for high availability, you can run it on several nodes. consul-alerts can run as a cluster and does leader-election, the leader will be the one that dispatches the alerts while the others on standby. If the node of the consul-alerts leader fails, another consul-alerts instance on different nodes will take the role.

You can run it on all 7 nodes. I suggest just running it with the 3 server nodes unless those nodes are already heavy loaded. If all server nodes are down, consul-alerts won't work too since it relies on a working consul cluster (currently it crashes... need to fix it).

from consul-alerts.

rudijs avatar rudijs commented on August 19, 2024

@darkcrux OK great, thanks for taking the time to tap that out.

I have it on all 7 nodes right now, but I think I'll scale down go with the 3 server nodes only.

If load becomes an issue I'll shuffle things around.

I'm very happy with Consul and Consul-alerts, I'll be following this project and will keep any eye out for bug fixes and upgrades.

I'm mostly a node.js and Ruby dev (currently), but using Consul has encouraged me to pick up my 1st Go book and learn the language.

If I'm ever able to actively contribute I will.

Thanks!

from consul-alerts.

rudijs avatar rudijs commented on August 19, 2024

@darkcrux Ah, one question:

If the node of the consul-alerts leader fails, another consul-alerts instance on different nodes will take the role.

In that case there needs to be more than 2 consul-alerts nodes running correct?

If a 3 node consul-alerts cluster drops to 2 a new leader cannot be elected (thus no alert sent) ?

from consul-alerts.

darkcrux avatar darkcrux commented on August 19, 2024

Nah. It should be alright. consul-alerts only requires at least 1 instance. If a 3 node drops to two, one of the two remaining nodes will become the leader.

from consul-alerts.

rudijs avatar rudijs commented on August 19, 2024

Ah that's nice. All good then.

Cheers.

from consul-alerts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.