pgopr is an operator that controls a PostgreSQL cluster and related technologies using Kubernetes.
- PostgreSQL 17 primary instance
- Command line interface
- CustomResourceDefinition interface
- Shell completion
- Kubernetes 1.34+
For Fedora 43:
dnf install -y git rust rust-std-static cargo rustfmt clippy postgresqlgit clone https://github.com/pgopr/pgopr.git
cd pgopr
make install
kind create cluster
pgopr install
pgopr provision primary
kubectl port-forward postgresql-XYZ 5432:5432
psql -h localhost -p 5432 -U myuser --password mydb
pgopr retire primary
pgopr uninstall
kind delete clusterpgopr will be installed to /usr/local/bin. Please ensure this directory is in your PATH to use the CLI.
Using mypass as the password.
Contributions to pgopr are managed on GitHub.com
Contributions are most welcome !
Please, consult our Code of Conduct policies for interacting in our community.
Consider giving the project a star on GitHub if you find it useful.