-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpostgres.yaml
34 lines (34 loc) · 1015 Bytes
/
postgres.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
apiVersion: "acid.zalan.do/v1"
kind: postgresql
metadata:
name: postgres
spec:
patroni:
pg_hba:
- local all all trust
- host all all 0.0.0.0/0 md5
- local replication standby trust
- hostssl replication standby all md5
- hostnossl all all all reject
- hostssl all all all md5
dockerImage: ghcr.io/zalando/spilo-15:3.0-p1
teamId: instana
numberOfInstances: 2
spiloRunAsUser: 101
spiloFSGroup: 103
spiloRunAsGroup: 103
postgresql:
version: "15"
parameters: # Expert section
shared_buffers: "32MB"
volume:
size: 20Gi
# Uncomment the following line to specify your own storage class, otherwise use the default.
# storageClass: <REPLACE>
resources:
requests:
cpu: 500m
memory: 1Gi
limits:
cpu: 1000m
memory: 2Gi