Install patroni by entering the following commands in the terminal:
sudo apt update sudo apt install patroni
Description:
Template for PostgreSQL High Availability
Patroni is a template for a customized, high-availability PostgreSQL solution using Python and a distributed configuration store (ZooKeeper, etcd or Consul). It provides a REST API on each Postgres node of the cluster allowing for remote management and monitoring.
Homepage: https://github.com/zalando/patroni
Version: 1.4.2-2ubuntu1
Section: universe/database