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