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

Scaling down replicas deletes all pods, causing downtime. #297

Open
DavidNix opened this issue May 30, 2023 · 1 comment
Open

Scaling down replicas deletes all pods, causing downtime. #297

DavidNix opened this issue May 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@DavidNix
Copy link
Contributor

DavidNix commented May 30, 2023

This was observed scaling from 2 to 1.

What should happen: The 2nd replica is deleted. The first one is not touched.

Observed on v0.14.0

@DavidNix DavidNix added the bug Something isn't working label May 30, 2023
@DavidNix
Copy link
Contributor Author

I think what happens is updating replicas (with no other changes) causes the diff algo to detect changes in the pods. So it's doing an update on the pods (which is a destroy/re-create). This is surprising. Changing the replicas shouldn't impact pod updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant