On Jan 6, 2017 02:40, "Colin Walters" <walt...@verbum.org> wrote:
On Thu, Jan 5, 2017, at 07:22 PM, Josh Berkus wrote: > Also, performance is MUCH better on PostgreSQL pgbench than devicemapper > is. Like 3X better. You really should not store databases (or any persistent data) in the container's rootfs. Use kubernetes PVs, etc., or for a real pet database, a host volume pinned to a node with specifically provisioned storage, etc. Even for transient storage I'd use e.g. http://kubernetes.io/docs/user-guide/volumes/#emptydir over just writing into the container's /tmp. It'd be very helpful to document such things as a faq or best practices.