Skip to content

pgopr/pgopr

pgopr: PostgreSQL operator for Kubernetes

pgopr is an operator that controls a PostgreSQL cluster and related technologies using Kubernetes.

Features

  • PostgreSQL 17 primary instance
  • Command line interface
  • CustomResourceDefinition interface
  • Shell completion

Requirements

Technologies

Runtime platforms

Developer

For Fedora 43:

dnf install -y git rust rust-std-static cargo rustfmt clippy postgresql
git 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 cluster

pgopr will be installed to /usr/local/bin. Please ensure this directory is in your PATH to use the CLI.

Using mypass as the password.

Contributing

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.

License

Eclipse Public License - v2.0

About

PostgreSQL operator for Kubernetes

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors