-
Notifications
You must be signed in to change notification settings - Fork 44
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
support for etcd v3 #15
Comments
I could look into it, may I ask what is your main use-case for using etcdtool. Also do you have suggestions for improvements? |
I think that would be great. As I understand it, etcd v3 is the version they ask us to use now. |
I'm not sure how useful import/export JSON/YAML/TOML is for etcd v3, since it doesn't support nested nodes anymore i.e. it's a flat key/value store. You could simulate a nested structure with a separator, but I'm not sure this make's much sense. I think the only functionality that would make any sense for v3 is maybe export/import. |
+1- I'd love to use this in conjunction with etcd-operators in kubernetes to backup both etcdv2 and etcdv3. |
Does import/export work with etcd3? I was trying it out and it appears to post using the v2 data store. |
Ftm moment I haven't implemented v3 since it flattened the namespace and you can't really import/export a nested structure anymore. You can simulate it thought using a (dot) notation like:
To either: .sub1.sub2.key: value Not sure how use-full that would be thought. As for adding single key with a config in it like JSON/YAML you can do that with etcdctl. |
Suggestions as how to handle this is welcome either use a flat name space for import/export in etcdv3 or simulate a nested one. |
I am still looking for a good tool to backup and restore etcd v3. Do you still have the plan or is there any good alternative tools to recommend? |
I'm planning on supporting etcdv3, I started prototyping a backend that can support etcd v2/v3. https://github.com/mickep76/kvstore Atm. for etcdv3 there are some options included in the tools themselves. |
Hi,
Are there any plans for supporting etcd v3?
Kind regards,
Peter
The text was updated successfully, but these errors were encountered: