Coder Social home page Coder Social logo

Comments (3)

tiagokos avatar tiagokos commented on July 19, 2024

Odd is that slave works but second node is never started when replication factor = 2

from activemq-artemis-helm.

DanSalt avatar DanSalt commented on July 19, 2024

From what I understand, most of the above is expected behaviour. The slave runs in 'passive' mode, meaning that it won't start it's connector (on port 61616) until it becomes 'active' (when the master fails). So the readiness probe (which is inspecting the live connection) will fail (which is ok, as you don't want clients trying to connect to it via the LoadBalancer).

However, we had to add the following line to the spec in the slave StatefulSet to get all slaves to deploy when using more than one replica:

podManagementPolicy: "Parallel"

This allows the deployment of Slave pods to continue even if one isn't ready. We made fixes to this and a few other things in our local version of the chart. I'm working on creating a branch/PR for @vromero to review.

Hope this helps,
Cheers,
Dan

from activemq-artemis-helm.

vromero avatar vromero commented on July 19, 2024

@DanSalt is completely spot on. I never figured out the balance between a parallel policy (that adds risk on cluster reduction) or serial that has problems with the replicas. I'm looking forward to see Dan's PR.

from activemq-artemis-helm.

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.