On Thu, Jan 5, 2017, at 07:22 PM, Josh Berkus wrote:You really should not store databases (or any persistent data)
> Also, performance is MUCH better on PostgreSQL pgbench than devicemapper
> is. Like 3X better.
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.