-
Notifications
You must be signed in to change notification settings - Fork 105
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(helm): Add extra args to zfsController containers and leader election inteligence #492
Conversation
b1bd898
to
63a0103
Compare
Thanks for contributing @trunet. Can you please share the test result with the newly added command. @pawanpraka1 It would be great if you too can review it. |
@sinhaashish what do you expect from "test results"? What I did was helm template with the variables I sent and checking the output. If I share, will be a very long comment because each run will be a lot of resources. |
These are the tests I did. Hope it's enough.
|
@sinhaashish and @pawanpraka1 Is there anything else I need to do to have this merged? |
@sinhaashish @pawanpraka1 could you give a feedback on this? |
63a0103
to
7e5ebd5
Compare
@trunet Can you please resolve the conflict so that it can be merged. |
It's resolved, but if you take that long again, any new release will keep causing a new conflict. |
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.
@trunet -- Changes look good. However, we require DCO signs on all of your commits. The git pull-based Merge commit doesn't have a signature. You'd want to rebase your branch instead.
git checkout leader-election-helm-options
git fetch upstream develop
git rebase upstream/develop
git push origin leader-election-helm-options
Let me know if you need help with that. I'm going to have to hold off on the merge until this is fixed.
@trunet can you please do the needful here |
…tion inteligence Added zfsController extraArgs variable to pass extra argumenta to containers command line. Also adding inteligence to enable leader election only when number of replicas is more than one. Fixes openebs#486 Signed-off-by: Wagner Sartori Junior <wsartori@wsartori.com>
5fa7ed7
to
6410239
Compare
@sinhaashish I was off-grid, on holidays, just fixed. |
Added zfsController extraArgs variable to pass extra argumenta to containers command line.
Also adding inteligence to enable leader election only when number of replicas is more than one.
Fixes #486
Pull Request template
Please, go through these steps before you submit a PR.
Why is this PR required? What issue does it fix?: It'll fix a high number of restarts on slow clusters by disabling leader election when replicas < 2
What this PR does?: It'll add option to add extra arguments to zfsController containers and enable leader election only when replicas > 1
Does this PR require any upgrade changes?: No
If the changes in this PR are manually verified, list down the scenarios covered::
Any additional information for your reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Checklist:
<type>(<scope>): <subject>