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

[etcd-snapshot-restore] Aggregated ETCD snapshot #841

Merged

Conversation

Danil-Grigorev
Copy link
Contributor

@Danil-Grigorev Danil-Grigorev commented Nov 5, 2024

What this PR does / why we need it:
From #764:

To reduce number of created snapshots per cluster, we can encapsulate multiple automatic snapshots for a cluster in a single resource within the resource status, instead of creating a separate one per each automatic snapshot.

This allows to maintain an up-to-date per-cluster snapshot list in the management cluster, with sufficient information to request a restore.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #764

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@Danil-Grigorev Danil-Grigorev changed the title [WIP] [etcd-snapshot-restore] Aggregated ETCD snapshot [etcd-snapshot-restore] Aggregated ETCD snapshot Nov 6, 2024
@Danil-Grigorev Danil-Grigorev marked this pull request as ready for review November 6, 2024 12:06
@Danil-Grigorev Danil-Grigorev requested a review from a team as a code owner November 6, 2024 12:06
Signed-off-by: Danil-Grigorev <[email protected]>
Copy link
Contributor

@salasberryfin salasberryfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a couple of comments. Otherwise, LGTM

Copy link
Contributor

@furkatgofurov7 furkatgofurov7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except the review comments by @salasberryfin earlier.

@furkatgofurov7 furkatgofurov7 added this to the November release milestone Nov 12, 2024
@Danil-Grigorev Danil-Grigorev merged commit b96b58b into rancher:main Nov 12, 2024
9 checks passed
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.

[etcdsnapshot&restore] Create a single automatic snapshot per cluster
4 participants