Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
brango
on July 14, 2017
|
parent
|
context
|
favorite
| on:
Redis 4.0
Redis Cluster connecting to nodes via DNS instead of IP would vastly simplify deployment on K8s.
iagooar
on July 14, 2017
[–]
How do you solve this problem? Can you use headless K8S services for that?
brango
on July 14, 2017
|
parent
[–]
You can use a StatefulSet which gives a fixed hostname per pod. Then you can have a sidecar pod that monitors the cluster, discovers the IPs of all pods, and uses redis_trib to create and maintain the cluster. It's a hassle to make it robust though.
iagooar
on July 16, 2017
|
root
|
parent
[–]
Don't see why you would do that, instead of a headless service.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: