diff --git a/ocp-templates/mpp/backend.yaml b/ocp-templates/mpp/backend.yaml index d69ff80e..be1a89e0 100644 --- a/ocp-templates/mpp/backend.yaml +++ b/ocp-templates/mpp/backend.yaml @@ -127,7 +127,13 @@ objects: periodSeconds: 10 successThreshold: 1 timeoutSeconds: 1 - resources: {} + resources: + limits: + cpu: '1' + memory: 1Gi + requests: + cpu: 500m + memory: 512Mi terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst diff --git a/ocp-templates/mpp/postgres.yaml b/ocp-templates/mpp/postgres.yaml index 5da84a97..1a27fda6 100644 --- a/ocp-templates/mpp/postgres.yaml +++ b/ocp-templates/mpp/postgres.yaml @@ -69,7 +69,11 @@ objects: timeoutSeconds: 10 resources: limits: - memory: 512Mi + memory: 6Gi + cpu: '1' + requests: + memory: 4Gi + cpu: '1' securityContext: capabilities: {} privileged: false