Skip to content

Adjusting the scale doesn't take the shortest path #2437

Open
@mflendrich

Description

@mflendrich

Issue originally authored by tnozicka as #1188

Is this a bug report or feature request?

  • Feature Request

What should the feature do:
The operator should stop scaling up if a new desired state has less members.

What is use case behind this feature:
Say we have a scylla cluster with 3 nodes and want to adjust members to 5 but accidentally put 55 there. The controller will create 55 services which is fine but when we correct ourselves and change the members to 5, the controller will first scale up to 55 nodes and only then goes back to 5. In the worst case your infra won't be big enough to scale to 55 instances and you'll get stuck.

Additional Information:
We are creating the services ahead of time which is fine but we need to make sure we stop scaling up as soon as we can and somehow differentiate the services that never had a bootstrapped node (which may be hard).

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/from-migrationIndicates that this issue is a copy of a corresponding issue mentioned in the description.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions