Run and Manage PgBouncer on Kubernetes

Provision, Upgrade, Scaling, Volume Expansion, Monitor, Backup & Restore, Security for PgBouncer in Kubernetes on any Public & Private Cloud

 2kind: PgBouncer
 4  name: pgbouncer-server
 5  namespace: demo
 7  connectionPool:
 8    adminUsers:
 9    - admin
10    - admin1
11    maxClientConnections: 20
12    reservePoolSize: 5
13  databases:
14  - alias: postgres
15    databaseName: postgres
16    databaseRef:
17      name: quick-postgres
18      namespace: demo
19  replicas: 1
20  terminationPolicy: WipeOut
21  userListSecretRef:
22    name: db-user-pass
23  version: 1.17.0

Run and Manage PgBouncer on Kubernetes

As the world’s enterprises rapidly move to the cloud, and Containers are taking over the world of software development, Kubernetes is the platform that lets users seamlessly deploy, scale, run applications and manage their life cycles.

But, Running Databases or Stateful applications in Kubernetes has always been a concern. And it becomes really difficult in terms of Run and manage Production-Grade Databases on Kubernetes.

KubeDB is the Kubernetes Native Database Management Solution which simplifies and automates routine database tasks such as Provisioning, Monitoring, Upgrading, Patching, Scaling, Volume Expansion, Backup, Recovery, Failure detection, and Repair for various popular databases on private and public clouds. KubeDB provides a simple mechanism for running your storage system in the same platform as your application.

    Why Choose KubeDB?🤔

  • Provisioning
  • Version Upgrade
  • Scaling
  • Monitoring
  • Security
Run and Manage PgBouncer on Kubernetes


If you can run Kubernetes, you can simply provision PgBouncer using KubeDB. You don’t need to worry about all of the knowledge of Kubernetes Concept, Helm, and PgBouncer server side setup. KubeDB simplifies the whole process for you. You just have to use standard Kubernetes CLI and API to provision PgBouncer.

Version Upgrade

Upgrading the pgbouncer version in Kubernetes is complicated. Upgrade operation should follow a specific order. KubeDB allows you to upgrade your running PgBouncer version without any downtime. You can upgrade your pgbouncer to any major or minor update of the PgBouncer version.

Version Upgrade


To improve your pgbouncer performance you have to make sure that your pgbouncer is scalable. KubeDB offers both Vertical and Horizontal Scaling of PgBouncer in Kubernetes. You can simply scale your PgBouncer cluster in Kubernetes using KubeDB.


KubeDB comes with native support for monitoring via Prometheus. You can use builtin Prometheus scrapper or CoreOS Prometheus Operator to monitor your PgBouncer in Kubernetes. You can use the Grafana to view key operational metrics, including compute/memory/storage capacity utilization, I/O activity, and instance connections.



To secure a pgbouncer your data needs to go through a cryptographic protocol that provides end-to-end security of the data transmission over the network. You can secure your PgBouncer with TLS using KubeDB. Also, KubeDB allows you to use encrypted storage for your pgbouncer using keys you manage through your cloud provider’s key management service.

What They Are Talking About us

Trusted by top engineers at the most ambitious companies

Run and Manage your Database on Kubernetes FREE !

KubeDB community edition is FREE to use on any supported Kubernetes engines. You can deploy and manage your database in Kubernetes using KubeDB. There is no up-front investment required. We offer a 30 days license FREE of cost to try KubeDB Enterprise edition.