veles: preserve live Postgres statefulset shape
This commit is contained in:
parent
7abbd40881
commit
2376ad9adc
@ -46,7 +46,7 @@ spec:
|
||||
type: RuntimeDefault
|
||||
containers:
|
||||
- name: postgres
|
||||
image: postgres:17
|
||||
image: postgres:15
|
||||
ports:
|
||||
- name: postgres
|
||||
containerPort: 5432
|
||||
@ -62,15 +62,13 @@ spec:
|
||||
value: veles
|
||||
resources:
|
||||
requests:
|
||||
cpu: "1"
|
||||
memory: 2Gi
|
||||
cpu: "2"
|
||||
memory: 8Gi
|
||||
limits:
|
||||
cpu: "4"
|
||||
memory: 8Gi
|
||||
memory: 16Gi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop: ["ALL"]
|
||||
volumeMounts:
|
||||
- name: postgres-data
|
||||
mountPath: /var/lib/postgresql/data
|
||||
@ -85,4 +83,4 @@ spec:
|
||||
storageClassName: veles-oceanus-db
|
||||
resources:
|
||||
requests:
|
||||
storage: 200Gi
|
||||
storage: 100Gi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user