kubesphere / kubekey

Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA 🔥 ⎈ 🐳
https://kubesphere.io
Apache License 2.0
2.18k stars 518 forks source link

feat: add plugin: backup and restore etcd. #2264

Closed ImitationImmortal closed 1 month ago

ImitationImmortal commented 1 month ago

What type of PR is this?

/kind feature

What this PR does / why we need it:

execute kk plugin playbooks in local dir backup etcd 截屏2024-05-30 17 40 28

restore etcd 截屏2024-05-30 17 44 21

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

Does this PR introduced a user-facing change?

add plugin: backup and restore etcd.

Additional documentation, usage docs, etc.:

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

pixiake commented 1 month ago

/lgtm /approve

ks-ci-bot commented 1 month ago

LGTM label has been added.

Git tree hash: aef72c16d9299c5addb58207e809f706e3048809

ks-ci-bot commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ImitationImmortal, pixiake

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubesphere/kubekey/blob/feature-gitops/OWNERS)~~ [pixiake] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment