Patroni

Introduction

Patroni is a template for you to create your own customized, high-availability solution using Python and - for maximum accessibility - a distributed configuration store like ZooKeeper, etcd, Consul or Kubernetes. Database engineers, DBAs, DevOps engineers, and SREs who are looking to quickly deploy HA PostgreSQL in the datacenter-or anywhere else-will hopefully find it useful.

We call Patroni a "template" because it is far from being a one-size-fits-all or plug-and-play replication system. It will have its own caveats. Use wisely. There are many ways to run high availability with PostgreSQL; for a list, see the PostgreSQL Documentation.

Currently supported PostgreSQL versions: 9.3 to 13.

Note to Kubernetes users: Patroni can run natively on top of Kubernetes. Take a look at the Kubernetes <kubernetes> chapter of the Patroni documentation.

README dynamic_configuration rest_api existing_data ENVIRONMENT SETTINGS security replica_bootstrap replication_modes pause kubernetes watchdog releases CONTRIBUTING

Indices and tables

  • genindex

  • modindex

  • search