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

Flannel + etcdv3? #554

Closed
bhouse opened this issue Nov 23, 2016 · 20 comments
Closed

Flannel + etcdv3? #554

bhouse opened this issue Nov 23, 2016 · 20 comments

Comments

@bhouse
Copy link

bhouse commented Nov 23, 2016

Hi!

I'm wondering what the compatibility of flannel with etcdv3 is? If I upgrade to etcdv3 and migrate the storage backend, will that get used by flannel? When I tried it, there seem to still be two storage backends, one for etcdv2 that flannel uses, and etcdv3 that's empty.

My apologies if this is in the docs/code somewhere, I wasn't able to grep for it. Thanks for all your work on this project!

@mgoodness
Copy link

This is a somewhat pressing question with etcd v3 becoming the default store in Kubernetes 1.6. This blog post seems to indicate that the v2 API will keep working after the data has been migrated to v3, but confirmation would be nice.

@tomdee
Copy link
Contributor

tomdee commented Jan 20, 2017

Flannel still uses the etcdv2 API. It can still talk to a etcd V3 server and share it will Kubernetes even if kubernetes is using etcdv3.

So it works, but it's not ideal so I would like to update flannel to use etcdv3 when I get a chance.

@chulkilee
Copy link

Okay, @tomdee closed #542 mentioning this, so I guess this will be a placeholder for using etcv3.

Although flannel is working with etcv3, I see lots of warning when using etcd behind Amazon ELB since etcdv2 API does not send heart beat (while etcdv3 does). Although it does not break anything (I guess flannel will just reconnect), but it's annoying :)

@tomdee
Copy link
Contributor

tomdee commented Jan 20, 2017

Yes, I hear and understand the need for etcdv3 for the heartbeat support.

@ravilr
Copy link

ravilr commented Feb 6, 2017

Does flannel continue to work even after etcdctl migrate of v2 data to v3 data. @hongchaodeng @xiang90 does migrate keep around v2 data. Can someone confirm, if they have gone through this process. Thanks.

@ravilr
Copy link

ravilr commented Mar 10, 2017

etcd-io/etcd#7406 confirms that etcdctl migrate leaves the existing v2 data as-is.

@nesc58
Copy link

nesc58 commented Jul 11, 2017

Is anyone working on this issue? There's huge issue to create backups for v2 (flannel) and v3 (e.g. kubernetes). The clientv3 for etcd is in the official repo. Are there unsolved issues or is this a personal/timing problem to solve this issue in one of the next versions?
And it's right. Flannel still works with etcdv3.

@andyxning
Copy link
Contributor

andyxning commented Aug 16, 2017

@nesc58 Seems like flannel has updated the etcd dep version to 3.1.x. @tomdee could you please confirm this?

See #759 for more info.

@tomdee
Copy link
Contributor

tomdee commented Aug 24, 2017

That PR just updates the library version - flannel still only works with the etcdv2 API for now

@andyxning
Copy link
Contributor

Any plan to upgrade etcd support to etcd v3? @tomdee

@alapidas
Copy link

@tomdee Would there be interest in accepting a contribution that added this feature?

@RuiGuo34
Copy link

@tomdee I'd like to know if the latest flannel version v0.9.0 supports etcd v3 now?

@tomdee
Copy link
Contributor

tomdee commented Jan 22, 2018

@alapidas yes
@dxdeidara Sorry, it's still not supported

@372046933
Copy link

372046933 commented Jul 4, 2018

Still not supportted?

@calvix
Copy link

calvix commented Jul 4, 2018

Are there any plans for adding support for etcdv3 ever?

@fabifrank
Copy link

+1

@robinsondan87
Copy link

Kubectl 1.13 will be dropping any support for the v2 api so we need flannel to support the v3 api, are there any plans to introduce this soon as 1.13 is currently in alpha status with a RC due soon.

@unteem
Copy link

unteem commented Dec 20, 2018

I'm a bit confused here, can someone confirm that compatibility between flannel and kubernetes 1.13 is broken or it sill works? Thanks

@dannyk81
Copy link

dannyk81 commented Jan 5, 2019

@stale
Copy link

stale bot commented Jan 26, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 26, 2023
@stale stale bot closed this as completed Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests