-
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
Extend Etcd
CRD and etcd-druid
to Support Configurable Delta Snapshot Retention
#651
Extend Etcd
CRD and etcd-druid
to Support Configurable Delta Snapshot Retention
#651
Conversation
524e4e9
to
00b2df5
Compare
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.
@seshachalam-yv thanks for the PR. While the PR adds the new field to the Etcd
CR, druid does not use the value anywhere. Please ensure that druid creates the etcd statefulset with this field's value correctly passed to the etcdbrctl
command.
/retest |
/test pull-etcd-druid-e2e-kind-alpha-features |
@aaronfern You have pull request review open invite, please check |
00b2df5
to
da9d680
Compare
Updated etcd-druid to propagate --delta-snapshot-retention-period flag from the Etcd CRD to etcd-backup-restore.
da9d680
to
072cea6
Compare
DeltaSnapshotRetentionPeriod
Field to Etcd CRDEtcd
CRD and etcd-druid
to Support Configurable Delta Snapshot Retention
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.
@seshachalam-yv thanks for your PR. I have a few comments. PTAL.
Please also change the release note to something like:
Introduce `Spec.Backup.DeltaSnapshotRetentionPeriod` in the `Etcd` resource to allow configuring retention period for delta snapshots.
(Release note does not need to have implementation details of the API, but just the general usage)
@aaronfern You have pull request review open invite, please check |
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
How to categorize this PR?
/area backup
/kind api-change
What this PR does / why we need it:
This PR extends the Etcd CRD to include a
DeltaSnapshotRetentionPeriod
field. This new field allows users to define the duration for retaining old delta snapshots, providing more flexibility in managing backup retention. Additionally, this PR modifies etcd-druid to propagate the --delta-snapshot-retention-period flag from the Etcd CRD to the etcd-backup-restore component.This change allows the etcd-backup-restore to have access to the
DeltaSnapshotRetentionPeriod
configuration which was not previously propagated. As such, it provides greater flexibility in the configuration of backup parameters.Which issue(s) this PR fixes:
Fixes #649
Special notes for your reviewer:
Release note: