/pgbouncer-helm-chart

PgBouncer Helm chart for Kubernetes

Primary LanguageSmartyMIT LicenseMIT

kubernetes-helm-chart-pgbouncer

This project is a Helm chart implementation for PgBouncer.


Configuration

Create a values.override.yaml (or similar) to add your databases and users settings.

# values.override.yaml example
replicaCount: 1
verbose: 1
users:
  dbuser: notagoodpassword
databases:
  postgres:
    host: postgresql-internal
    port: 5432
    user: dbuser
    dbname: postgres
connectionLimits:
  defaultPoolSize: 20
  minPoolSize: 20
  reservePoolSize: 20

Installation

helm install -f values.override.yaml pgbouncer

or in your chart's requirements.yaml

dependencies:
- name: pgbouncer
  version: 1.0.10
  repository: https://raw.githubusercontent.com/cradlepoint/kubernetes-helm-chart-pgbouncer/master/repos/stable