cortexproject/cortex

etcd support

kfox1111 opened this issue · 4 comments

Many Kubernetes admins already know how to deal with etcd. It would be good if you could switch out consul for etcd to reduce the cognitive load on admins.

Another suggestion at #157

Yes! I want Etcd too. I was playing with the API on the flight back from KubeCon...

Theres an abstraction layer here that should be pretty easy to implement for etcd: https://github.com/cortexproject/cortex/blob/master/pkg/ring/kvstore.go#L18

hmm... yeah. if the need of consul is light enough, a k8s crd might be even better. Then no extra state management at all.

Currently the usage is not too light - every ingester rewrites the ring every 3 seconds.
But as discussed at #157 we could move the heartbeat side elsewhere (we now have grpc health checks) then the ring is only updated when ingesters join and leave.