CHORE(resources): set memory limits equal to memory requests
Align memory limits with memory requests for guaranteed QoS class. - velero: main, nodeAgent - postgresql: cluster - minio: console - zot, cnpg, pgweb
This commit is contained in:
@@ -16,7 +16,7 @@ resources:
|
||||
cpu: 15m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
memory: 192Mi
|
||||
memory: 128Mi
|
||||
|
||||
# RBAC
|
||||
rbac:
|
||||
|
||||
@@ -38,7 +38,7 @@ spec:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
memory: 128Mi
|
||||
memory: 64Mi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
@@ -25,7 +25,7 @@ controllers:
|
||||
cpu: 15m
|
||||
memory: 100Mi
|
||||
limits:
|
||||
memory: 150Mi
|
||||
memory: 100Mi
|
||||
probes:
|
||||
liveness:
|
||||
enabled: true
|
||||
|
||||
@@ -21,7 +21,7 @@ spec:
|
||||
memory: "256Mi"
|
||||
cpu: "30m"
|
||||
limits:
|
||||
memory: "384Mi"
|
||||
memory: "256Mi"
|
||||
|
||||
# PostgreSQL configuration
|
||||
postgresql:
|
||||
|
||||
@@ -19,7 +19,7 @@ resources:
|
||||
cpu: 11m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
memory: 192Mi
|
||||
memory: 128Mi
|
||||
|
||||
# Init containers for plugins
|
||||
initContainers:
|
||||
@@ -42,7 +42,7 @@ nodeAgent:
|
||||
cpu: 15m # VPA recommendation: 15m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 256Mi
|
||||
# Run on all nodes including control-plane for full backup coverage
|
||||
tolerations:
|
||||
- key: "node-role.kubernetes.io/control-plane"
|
||||
|
||||
@@ -37,7 +37,7 @@ controllers:
|
||||
cpu: 15m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
memory: 256Mi
|
||||
memory: 128Mi
|
||||
pod:
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
|
||||
Reference in New Issue
Block a user