hseeberger / constructr

Coordinated (etcd, ...) cluster construction for dynamic (cloud, containers) environments
Apache License 2.0
212 stars 37 forks source link

Support for etcd 3 #124

Open hseeberger opened 8 years ago

Chumper commented 7 years ago

etcd3 should be straitght forward to implement. I used the grpc api on my own adapter: https://github.com/Chumper/etcd3-scala It is far from perfect, I use it to learn scala along the way but I hope you can use it as inspiration for an etcd3 version.

I can also try to create an etcd3 version as plugin if you want.

hseeberger commented 7 years ago

Thanks, but I'm already on it, thereby changing some semantics of ConstructR ;-)

Chumper commented 7 years ago

Yeah, afterwards I saw your etcd3 branch that you recently started. Good work btw.

yi719 commented 7 years ago

Hi, are there any plans on releasing Support for etcd 3 ?

lutzh commented 7 years ago

I set up a little test system with constructr and unaware of etcd3 support being w.i.p., I naively used etcd3. And as far as I can tell it's working just fine !?!

Is my understanding correct, that the etcd3 support means making use of the gRPC interface of etcd3, but even without, constructr 0.17 works fine with etcd3 (because of etcd3's Json backwards compatibility)? From https://coreos.com/etcd/docs/latest/op-guide/v2-migration.html: The data store v2 is still accessible from the API v2 after upgrading to etcd3. Thus, it will work as before and require no application changes.

What problems should I expect when using constructr 0.17 with etcd3?