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

etcd2 backup/restore support in operator #1123

Closed
raoofm opened this issue May 23, 2017 · 6 comments
Closed

etcd2 backup/restore support in operator #1123

raoofm opened this issue May 23, 2017 · 6 comments

Comments

@raoofm
Copy link

raoofm commented May 23, 2017

@xiang90 @philips @heyitsanthony
etcd-operator is awesome and we are really excited to use this in production.

Our usecase is Here and we are using etcd as vault backend on kubernetes. So now comes the real requirement of highly available with auto pilot (operator)

Not having v2 is stopping us from using it. We were early adopters of etcdv2 and have clients using it and they cant/didnt migrate to v3 yet. One of the limitations being no java client library available and moving away from rest to grpc made it not so easy for clients to start using v3. The cluster is already running 3.1

No doubt that v3 is awesome but can't force clients to move to v3. Is it a lot of work to have v2 back/restore as part of operator too.

I see that this was reported earlier #864 and I'm pretty sure that there must be many who want to use operator and not having v2 backup/restore might be a limitation. This supports only new users who are starting to use v3.

The only option I see is to have a side car container running which should reinitialize v2 data from a backup that it had taken before. (not an ideal way of doing it though)

@hongchaodeng
Copy link
Member

I remembered the plan is to use v2 API proxy on top of etcd3. Is there any tracking issue? @xiang90 @heyitsanthony

@sergik
Copy link

sergik commented May 30, 2017

Any updates on this?

@xiang90
Copy link
Collaborator

xiang90 commented May 30, 2017

i do not think etcd operator will ever deal with a v2 data snapshot.

one option is the make etcd itself to support v2 api with v3 data.

@raoofm
Copy link
Author

raoofm commented Jul 10, 2017

I remembered the plan is to use v2 API proxy on top of etcd3. Is there any tracking issue? @xiang90 @heyitsanthony

one option is the make etcd itself to support v2 api with v3 data.

@xiang90 @heyitsanthony Is there an issue that is being tracked in etcd?

@hongchaodeng
Copy link
Member

@raoofm etcd-io/etcd#6925

@raoofm
Copy link
Author

raoofm commented Jul 10, 2017

@hongchaodeng Thanks, awesome!

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

4 participants