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

chore: updating stan eventbus sts instead of recreating when there is change #2054

Merged
merged 3 commits into from
Jun 27, 2022

Conversation

whynowy
Copy link
Member

@whynowy whynowy commented Jun 27, 2022

When there's spec change in nats eventbus, the statefulset will be recreated, which will cause downtime.

This PR changes it to be updating the statefulset - this is based on the assumption that users know only limited fields (e.g. replicas) can be changed for statefulset, most of them are immutable. If fields like pvc need to be updated, deleting and recreating is required.

Signed-off-by: Derek Wang whynowy@gmail.com

Checklist:

… change

Signed-off-by: Derek Wang <whynowy@gmail.com>
Signed-off-by: Derek Wang <whynowy@gmail.com>
Signed-off-by: Derek Wang <whynowy@gmail.com>
@whynowy whynowy merged commit 92f2f32 into argoproj:master Jun 27, 2022
@whynowy whynowy deleted the sts branch June 27, 2022 16:47
whynowy added a commit that referenced this pull request Sep 10, 2022
… change (#2054)

* chore: updating stan eventbus sts instead of recreating when there is change

Signed-off-by: Derek Wang <whynowy@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants