3 ms·
The most interesting part of this is the k8s integration to find your peers and connect to them. I've wanted this for a variety of projects; I wonder if this i
by jrockway 7y ago
The most interesting part of this is the k8s integration to find your peers and connect to them. I've wanted this for a variety of projects; I wonder if this is worth extracting into a separate library?
- newaccoutnas 7y agoIsn't that just Service Discovery? https://kubernetes.io/docs/concepts/services-networking/service/#discovering-services https://kubernetes.io/docs/concepts/services-networking/serv...
- jrockway 7y agoGetting the list of endpoints is easy. Doing something with that list of endpoints is the hard part.
- alpb 7y agoYou can do service discovery with a k/v store like etcd, or consul, which is how Kubernetes does service discovery. In fact, Consul very much positions itself as a service discovery tool. I'm not sure how it would be possible to do it in a "library" (without external centralized storage).