-
Notifications
You must be signed in to change notification settings - Fork 49
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
Introduced feature gates in etcd druid and added UseEtcdWrapper
feature gate
#646
Conversation
Co-authored-by: Seshachalam <[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.
@aaronfern thanks for the PR! I've tested the changes and it works well.
Please rename all occurrences of feature flags
to feature gates
since we no longer use individual CLI flags for setting each feature, but rather use a single --feature-gates
flag for this, similar to upstream k8s feature gates.
Change release notes to:
feature operator
Feature gates have been introduced in etcd-druid, and can be specified using CLI flag `--feature-gate`.
feature operator
`UseEtcdWrapper` feature gate has been introduced to allow users to opt for the new [etcd-wrapper](https://github.com/gardener/etcd-wrapper) image.
Also update PR description to say that this PR partially fixes #643
Co-authored-by: Shreyas Rao <[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.
Overall looks good to me
/lgtm
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.
/lgtm
/test pull-etcd-druid-e2e-kind |
@aaronfern I ran the e2e tests locally with feature gates enabled, and I see that some of the tests fail since they are timing out. I've attached the test logs here. I see that the issue is resolved by doubling the values for timeouts e2e-test-feature-gates-changed-passed.log Please make the changes in this PR before we merge it. Thanks! |
/hold until e2e tests when feature-gates are enabled, are fixed. |
/test pull-etcd-druid-e2e-kind-alpha-features |
2 similar comments
/test pull-etcd-druid-e2e-kind-alpha-features |
/test pull-etcd-druid-e2e-kind-alpha-features |
/unhold as e2e tests are passing with feature gates enabled, as can be seen from the prow job |
How to categorize this PR?
/area disaster-recovery
/kind enhancement
What this PR does / why we need it:
This PR achieves the following
Introduce feature gates in
etcd-druid
. Now large or experimental changes can be made available via a feature gate to only those who opt for themA new feature gate
UseEtcdWrapper
has been added. Enabling this feature gates instructs to deploy anetcd-wrapper
container along with a distrolessetcd-backup-restore
conatainer via the statefulset instead of theetcd-custom-image
container along with a previous version of theetcd-backup-restore
container based on the alpine distroWhich issue(s) this PR fixes:
Fixes partially #643
Special notes for your reviewer:
This PR is to be merged only after a release of
etcd-custom-image
is madeRelease note: