Closed kaufers closed 7 years ago
Can you add the groups.json that you used?
Note that if I run a second commit right after the first I see:
Group workers with plugin group plan: Noop
Group managers with plugin group plan: Performing a rolling update on 3 instances
The problem is that quorum groups DO NOT check for instance definition changes (only checks LogicalID
):
https://github.com/docker/infrakit/blob/master/pkg/plugin/group/quorum.go#L37-L39
Scaler groups DO check this:
https://github.com/docker/infrakit/blob/master/pkg/plugin/group/scaler.go#L60-L67
The fix is to add a similar check to the quorum group PlanUpdate
function.
We have a group definition with a
managers
and aworkers
group. We want to scale out theworkers
group and issued the following after updating theAllocation|Size
from 1->2:In this case we did not want to perform a rolling update on any of the
managers
; we only wanted to scale out theworkers
.Is there a different command we should use to only update a specific group? Or can this flow be updated to detect that nothing changed in the
managers
group and not do a rolling update?It seems like we need a way to differentiate between performing a rolling update and a scale out (where only the allocations changed).
Thanks!