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

Adds the ability to compress etcd snapshots #4866

Merged
merged 5 commits into from Jan 14, 2022

Conversation

briandowns
Copy link
Contributor

@briandowns briandowns commented Jan 4, 2022

Proposed Changes

Adds the ability to compress etcd snapshots using Go's zip package for feature parity with RKE1.

Types of Changes

Verification

Scenario 1:

  1. Create a new cluster.
  2. Take a snapshot: ./k3s etcd-snapshot --snapshot-compress.
  3. Stop the cluster.
  4. Perform a restore.

Scenario 2:

  1. Create a new cluster.
  2. Take a snapshot: ./k3s etcd-snapshot --snapshot-compress.
  3. Stop the cluster.
  4. Remove the ${data-dir}.
  5. Perform a restore.

Linked Issues

User-Facing Change


Further Comments

@briandowns briandowns requested a review from a team January 4, 2022 20:18
@briandowns briandowns self-assigned this Jan 4, 2022
pkg/etcd/etcd.go Outdated Show resolved Hide resolved
Signed-off-by: Brian Downs <brian.downs@gmail.com>
Signed-off-by: Brian Downs <brian.downs@gmail.com>
Signed-off-by: Brian Downs <brian.downs@gmail.com>
Signed-off-by: Brian Downs <brian.downs@gmail.com>
Signed-off-by: Brian Downs <brian.downs@gmail.com>
@briandowns briandowns merged commit effcb15 into k3s-io:master Jan 14, 2022
briandowns added a commit to briandowns/k3s that referenced this pull request Jan 14, 2022
Signed-off-by: Brian Downs <brian.downs@gmail.com>
briandowns added a commit to briandowns/k3s that referenced this pull request Jan 14, 2022
Signed-off-by: Brian Downs <brian.downs@gmail.com>
briandowns added a commit to briandowns/k3s that referenced this pull request Jan 14, 2022
Signed-off-by: Brian Downs <brian.downs@gmail.com>
briandowns added a commit that referenced this pull request Jan 18, 2022
Signed-off-by: Brian Downs <brian.downs@gmail.com>
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.

None yet

3 participants