feat: deploy artifactapi3 (#192)
just-enough to test terraform deployment and begin migration. have change to cnpg for the database and a new bucket for storage --------- Co-authored-by: Ben Vincent <ben@unkin.net> Reviewed-on: #192
This commit was merged in pull request #192.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Pooler
|
||||
metadata:
|
||||
name: artifactapi-postgres-pooler
|
||||
namespace: artifactapi
|
||||
spec:
|
||||
cluster:
|
||||
name: artifactapi-postgres
|
||||
instances: 2
|
||||
pgbouncer:
|
||||
parameters:
|
||||
default_pool_size: "100"
|
||||
max_client_conn: "400"
|
||||
paused: false
|
||||
poolMode: session
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: artifactapi-pooler
|
||||
spec:
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- labelSelector:
|
||||
matchExpressions:
|
||||
- key: app
|
||||
operator: In
|
||||
values:
|
||||
- artifactapi-pooler
|
||||
topologyKey: kubernetes.io/hostname
|
||||
containers: []
|
||||
type: rw
|
||||
Reference in New Issue
Block a user