Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is what I also want to do.

How are you handling storage? That is the only issue I'm struggling with for a small 3-node deployment.



Longhorn volumes automatically replicate to multiple nodes (configurable) and automatically move to the nodes whose pods need it.

A postgres database running on a single node will experience some downtime during (re)deployments or when moving across nodes, but should be pretty quick depending on the size of the database. For true HA database, CockroachDB is supposed to be compatible with postgres, but I haven't had a chance to play with it.


How's the performance with Longhorn with databases?


That's indeed the pain point. Distributing a stateless app is relatively easy. Distributing the shared file system and database over a remote, higher latency, cross-cloud setup is hard.


I run everything on Longhorn, including databases. Not the highest iops but definitely worth the hit for the easy of migrating.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: