Enable PostgreSQL configuration in yc-k8s-test kustomization and reorder memory resource requests
This commit is contained in:
parent
5c401a37d1
commit
4e50baf465
@ -3,5 +3,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../base
|
- ../base
|
||||||
# - postgresql.yaml
|
- postgresql.yaml
|
||||||
patches: []
|
patches: []
|
||||||
|
|||||||
@ -56,9 +56,6 @@ spec:
|
|||||||
persistence:
|
persistence:
|
||||||
storageClass: local-path
|
storageClass: local-path
|
||||||
size: 20Gi
|
size: 20Gi
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
memory: 512Mi
|
|
||||||
customLivenessProbe:
|
customLivenessProbe:
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
@ -92,6 +89,9 @@ spec:
|
|||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
failureThreshold: 6
|
failureThreshold: 6
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
dedicated: db
|
dedicated: db
|
||||||
tolerations:
|
tolerations:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user