Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

provide restore hook #1316

Closed
hongchaodeng opened this issue Jul 24, 2017 · 2 comments
Closed

provide restore hook #1316

hongchaodeng opened this issue Jul 24, 2017 · 2 comments
Milestone

Comments

@hongchaodeng
Copy link
Member

From https://sgotti.me/post/kubernetes-persistent-etcd/

So when the etcd-operator detects that a cluster has lost more than half of its nodes it cannot just wait for them to come back alive (since they don’t have persistent data and no stable peer address) but the only thing it can do is to drop the current cluster and create a new cluster restoring its data from a backup (if configured to do so). If this is enabled you’ll end up with an etcd cluster that under the hoods is restored with old data. So you’ve to be wise and know if this is a correct approach depending on what you’re storing inside your etcd kv store.

Auto-restore hides complexity and details. Sometimes users won't be comfortable with it. An initial idea is to provide restore hooks.

@hongchaodeng
Copy link
Member Author

cc @sgotti

@hongchaodeng hongchaodeng added this to the 0.6.1 milestone Sep 11, 2017
@hongchaodeng hongchaodeng modified the milestones: 0.6.1, 0.7.0 Oct 16, 2017
@hongchaodeng
Copy link
Member Author

Closing this since we have a different design for restore. By default it needs human interaction

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant