Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing replicas during rollout can make cluster get stuck rolling out #108

Open
ecordell opened this issue Nov 14, 2022 · 0 comments
Open
Labels
kind/bug Something is broken or regressed priority/2 medium This needs to be done

Comments

@ecordell
Copy link
Contributor

If the SpiceDBCluster has the condition WaitingForDeploymentAvailability and the spec.config.replicas value is changed, then the cluster can get stuck in the waiting state:

  Conditions:
    Last Transition Time:  2022-11-09T18:38:05Z
    Message:               Waiting for deployment to be available: 3/2 available, 3/2 ready, 3/2 updated, 163/163 generation.
    Reason:                WaitingForDeploymentAvailability
    Status:                True
    Type:                  RollingDeployment

As a workaround, this can be fixed by changing the replicas to match the deployment's replicas, waiting for the rollout to finish, and then changing the replicas to the desired value.

@ecordell ecordell added the kind/bug Something is broken or regressed label Nov 14, 2022
@ecordell ecordell added the priority/2 medium This needs to be done label Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something is broken or regressed priority/2 medium This needs to be done
Projects
None yet
Development

No branches or pull requests

1 participant