-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Support Etcd v3, enhance KV support #2407
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
Conversation
juliens
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
7f770cd to
2de94fa
Compare
308f991 to
46be176
Compare
glide.yaml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question. Why it is not the same version that is present in docker compose file v3.2.9 <> v3.2.7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modification done in the docker-compose fileS.
integration/etcd_test.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please replace 1000*time.Millisecond with 1*time.Second
46be176 to
38df4a1
Compare
d0a92cb to
d2d6830
Compare
mmatur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👏
3eb92e5 to
67fbb54
Compare
67fbb54 to
680fa6c
Compare
ldez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
emilevauge
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @nmengin 😍
Few minor comments but overall, looks very good to me :)
docs/configuration/backends/etcd.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/will be/is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@emilevauge For the moment I prefer keep it as long as we do not have end-to-end test about the cluster mode.
It allows generating easily a Dockerized Træfik cluster...
Moreover, shell is life... shell is like an unicorn or a rainbow or both...
provider/etcd/etcd.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment // TODO: Deprecated before ?
680fa6c to
8e81b7e
Compare
8e81b7e to
2c51cbf
Compare
2c51cbf to
8c4a392
Compare
4e2a0e9 to
f7f86da
Compare


What does this PR do?
In the way to migrate fix some bugs with KV store, essentially ETCDV3, this PR migrates Træfik to the abronan libkv fork we have to migrate first stært in the way to fix dependencies.
Motivation
Fixes #926 #1034 #2069 #1974 #1975
More
Additional information
The new libkv version allows connections to ETCD through both
V2andV3API.In the way to avoid breaking change, the parameter
userAPIV3was added to the backend ETCD.Note : Both the Atcd API V2 and the option
userAPIV3are deprecated. More information about deprecated option in proposal #2212.