Skip to content

solidnerd/postgres-database-operator

 
 

Repository files navigation

postgres-database-operator

A Kubernetes operator to create databases inside a running postgresql instance.

The combine the power of kubernetes with the production grade databases running outside kubernetes clusters.

Example: If you running on AWS with a RDS and you want to give your users the power the create databases without giving them admin credentials

The operator based the kopf operator framework from zalando.

Install

Be sure your are running a Kubernetes Cluster (tested with 1.11) with RBAC enabled.

CRD install

kubectl apply -f contrib/deploy/crds/postgresdatabases.postgres.database.k8s.jkroepke.de.yaml

Operator install

There is a helm chart inside contrib/helm/charts/postgres-database-operator directory to install the operator.

helm upgrade --install db-operator contrib/helm/charts/postgres-database-operator

Prebuild images are available on docker hub. http://hub.docker.com/r/jkroepke/postgres-database-operator

About

A Kubernetes operator to create databases inside a running postgresql instance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 82.2%
  • Makefile 8.9%
  • Shell 3.5%
  • Dockerfile 3.2%
  • Smarty 2.2%