If you've ever thought about trust and hope, you're not likely to have experienced it anything as much as you have a database management system. Well, really, this is what a database is! The title conveys the whole point - a place where data is kept, the main task is to STORE. And the saddest thing, as always, once these beliefs crash into the ruins of a downed production database. And what do I do -- you ask? Do not deploy anything on the servers -- we answer. Nothing unless it can recover itself, at least temporarily but reliably and quickly.
In this article, I will try to talk about my experience of configuring a built to last a lifetime Postgresql cluster within another failover solution from Google — Kubernetes (aka k8s).
Table of Contents
The article came out slightly longer than expected, and therefore you'll find many links in the text - mainly to the code within the given context.