I am trying to setup HA rocket chat with kubernetes. According to the rocket chat HA guide, rocket supports HA. I assume StatefulSet should be used to support such records:
extra_hosts:
- "rocket-1:10.250.250.13"
- "rocket-2:10.250.250.14"
- "rocket-3:10.250.250.17"
However i still miss some parts of the puzzle. Where in kubernetes can i specify extra_hosts? Is where any guide of how to achieve it?
I just came across this while I was looking into deploying rocket chat on kubernetes. I don't know if you've solved this issue, but the extra_hosts field in the docker compose file is just for hostname resolution. If you already have a dns service deployed on the cluster then you shouldn't need this.
As far as using stateful sets: I wouldn't use that kind of resource for rocket.chat because it's not a stateful application. You could use them for the MongoDB replicaset though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With