One year in production with CloudNativePG and ZFS on the cheapest K8


Details
Join us for the Data on Kubernetes Town Hall on June 18th. We host monthly town halls to feature use cases and advancements in the DoK ecosystem.
AGENDA
[10:00 AM]
Welcome and Community Updates
Presented by Paul Au, Head of Community
[10:05 AM]
Speaker:
Jérôme Petazzoni, Software engineer, developer advocate, trainer
One year in production with CloudNativePG and ZFS on the cheapest K8S cluster we could find
This story isn't about a giant hyperscale unicorn, but about a modest web app which was using a fairly classic PAAS stack, and facing rising hosting costs.
Moving to Kubernetes promised to be cheaper, but it also sounded scary—especially for our PostgreSQL database. We didn't know how to set up replication and backups, and none of us really wanted to become a database admin.
After some experiments with CloudNativePG on local clusters, we took a leap of faith, and moved our app—and its database—to Kubernetes.
While benchmarking our database, we noticed that on many providers, local instance storage was significantly faster than cloud storage. This prompted us to experiment with OpenEBS ZFS LocalPV to provide transparent compression (dividing our storage footprint in half), and CSI snapshots (to provision a 150 GB staging database in seconds).
In this talk, we're going to explain:
- how we tested and evaluated these solutions;
- how you can deploy them for your apps too.

One year in production with CloudNativePG and ZFS on the cheapest K8