Skip to content

Commit 2b3d9ad

Browse files
committed
update postgresql.yaml
1 parent f8992d7 commit 2b3d9ad

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

platforms/kubernetes/postgres-operator/deploy/postgresql.yaml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@ spec:
6868
- name: data # can't change the name
6969
mountPath: /var/lib/postgresql/data
7070
resources:
71+
requests:
72+
memory: "300Mi"
73+
cpu: "0.3"
7174
limits:
72-
memory: "100Mi"
73-
cpu: "0.1"
75+
memory: "500Mi"
76+
cpu: "0.5"
7477
volumeClaimTemplates:
7578
- metadata:
7679
name: data
@@ -117,9 +120,12 @@ spec:
117120
- name: data # can't change the name
118121
mountPath: /var/lib/postgresql/data
119122
resources:
123+
requests:
124+
memory: "300Mi"
125+
cpu: "0.3"
120126
limits:
121-
memory: "100Mi"
122-
cpu: "0.1"
127+
memory: "500Mi"
128+
cpu: "0.5"
123129
volumeClaimTemplates:
124130
- metadata:
125131
name: data
@@ -151,9 +157,12 @@ spec:
151157
- name: data # can't change the name
152158
mountPath: /var/lib/postgresql/data
153159
resources:
160+
requests:
161+
memory: "300Mi"
162+
cpu: "0.3"
154163
limits:
155-
memory: "100Mi"
156-
cpu: "0.1"
164+
memory: "500Mi"
165+
cpu: "0.5"
157166
volumeClaimTemplates:
158167
- metadata:
159168
name: data

0 commit comments

Comments
 (0)