4 ms·
You can use etcd for service discovery...that's how k8s does it, no? As for nomad I never used it much, but did like that you could run things locally and have
by mise_en_place 2y ago
You can use etcd for service discovery...that's how k8s does it, no? As for nomad I never used it much, but did like that you could run things locally and have unified environments. I would recommend Nix but we all know what's going on there, sadly FOSS has been consumed by political infighting as well.
- voakbasda 2y agoFor those who were unaware of the Nix situation (like me): https://news.ycombinator.com/item?id=40199153 https://news.ycombinator.com/item?id=40199153
- deleted 2y ago[deleted]
- klooney 2y agoI think etcd is basically a k8s only project now- Consul has a ton of quality of life stuff added on. There's always Zookeeper.
- otterley 2y agoAnything but Zookeeper! It was written long before the cloud was a thing, relies on hard-coded IPs, and is practically impossible to operate idiomatically in a cloud environment (unless you’re using statefulsets in K8S to paper over it). It has served us well over the past two decades, but it’s nigh time to give it the proper burial ceremony it deserves.
- klooney 2y agoZK in statefulsets can still get wedged super hard, especially if you power cycle all the nodes. It's pretty unpleasant.
- mdaniel 2y ago> I think etcd is basically a k8s only project now I hate etcd with the best of them, but etcd is used in a lot more places than just kubernetes: https://github.com/apache/apisix/blob/master/docs/en/latest/FAQ.md#why-does-apache-apisix-use-etcd-for-the-configuration-center https://github.com/apache/apisix/blob/master/docs/en/latest/... https://github.com/traefik/traefik#:~:text=Etcd https://github.com/traefik/traefik#:~:text=Etcd, https://github.com/zalando/patroni#patroni-a-template-for-postgresql-ha-with-zookeeper-etcd-or-consul https://github.com/zalando/patroni#patroni-a-template-for-po... https://github.com/purpleidea/mgmt/tree/0.0.26/etcd https://github.com/purpleidea/mgmt/tree/0.0.26/etcd (this one shows up on HN quite a bit) https://github.com/sorintlab/stolon#features https://github.com/sorintlab/stolon#features It's actually one of the major reasons I wouldn't touch those projects