Skip to content

pgopr/pgopr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pgopr: PostgreSQL operator for Kubernetes

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

Features

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

Requirements

Technologies

Runtime platforms

Developer

For Fedora 36:

dnf install -y git rust rust-std-static cargo rustfmt clippy postgresql
git clone https://github.com/pgopr/pgopr.git
cd pgopr
cargo build
cd target/debug
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

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