mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-09 09:15:53 +02:00
WIP Connection pooler support
Add an initial support for a connection pooler. The idea is to make it generic enough to be able to switch a corresponding docker image to change from pgbouncer to e.g. odyssey. Operator needs to create a deployment with pooler and a service for it to access.
This commit is contained in:
@@ -17,3 +17,5 @@ spec:
|
||||
foo: zalando # dbname: owner
|
||||
postgresql:
|
||||
version: "11"
|
||||
connectionPool:
|
||||
type: "pgbouncer"
|
||||
|
||||
@@ -119,6 +119,7 @@ rules:
|
||||
- apps
|
||||
resources:
|
||||
- statefulsets
|
||||
- deployments
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
|
||||
Reference in New Issue
Block a user