diff --git a/tenants/escolinha/10-postgres.yaml b/tenants/escolinha/10-postgres.yaml index cbb3266..e983032 100644 --- a/tenants/escolinha/10-postgres.yaml +++ b/tenants/escolinha/10-postgres.yaml @@ -27,6 +27,8 @@ metadata: namespace: escolinha-prod spec: replicas: 1 + strategy: + type: Recreate # um volume so: dois Postgres sobre o mesmo PV nao sobem selector: matchLabels: app: postgres @@ -37,7 +39,7 @@ spec: spec: containers: - name: postgres - image: postgres:16 + image: pgvector/pgvector:pg16-trixie args: ["-c", "max_connections=300"] ports: - containerPort: 5432