This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # ============================================================================== | |
| # PostgreSQL HA Cluster Installer for Proxmox VE | |
| # ------------------------------------------------------------------------------ | |
| # Provisions a production-ready highly-available PostgreSQL cluster: | |
| # * 3x VMs running PostgreSQL + etcd + Patroni (Ubuntu 24.04 cloud-init) | |
| # * 2x LXCs running HAProxy + keepalived (Ubuntu 24.04, privileged) | |
| # * Floating VIP for application traffic | |
| # * Fully TLS'd etcd (self-signed CA generated for the cluster) | |
| # |