-
Notifications
You must be signed in to change notification settings - Fork 29
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
fix(chart): allow scaling etcd via replicaCount and Helm upgrade #536
fix(chart): allow scaling etcd via replicaCount and Helm upgrade #536
Conversation
The etcd chart dynamically sets this value based on whether Helm is installing or upgrading. Signed-off-by: Mike Beaumont <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes seems they have modified it to the affect, great!
@datacore-tilangovan please take a look
@michaelbeaumont seems we should probably add in the release notes users should modify this variable to existing? |
ping @datacore-tilangovan |
Honestly not 100% on how exactly Helm will merge values in this case... will it be reset back to empty on upgrade if we remove it in the upstream chart? If not then yes, users should set it to |
I tried upgrading with I do face an issue where when deleting etcd-0 pod it goes into crashloop:
But I was able to reproduce even with "new", so I think this is non-related. @datacore-tilangovan any clues here? |
bors merge |
Build succeeded: |
Description
The etcd chart dynamically sets this value based on whether Helm is installing or upgrading. We shouldn't pin it to
"new"
Motivation and Context
See openebs/mayastor#1732 and fixes openebs/mayastor#1659
It's supposed to be possible to scale etcd via the replica count with Helm.
How Has This Been Tested?
Tested via setting both
initialClusterState
to"existing"
and changingreplicaCount
.We then see on
etcd-1
something like:Types of changes
Checklist: