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
|
cpu: 15m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 192Mi
|
memory: 128Mi
|
||||||
|
|
||||||
# RBAC
|
# RBAC
|
||||||
rbac:
|
rbac:
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ spec:
|
|||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 128Mi
|
memory: 64Mi
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ controllers:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 150Mi
|
memory: 100Mi
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
cpu: "30m"
|
cpu: "30m"
|
||||||
limits:
|
limits:
|
||||||
memory: "384Mi"
|
memory: "256Mi"
|
||||||
|
|
||||||
# PostgreSQL configuration
|
# PostgreSQL configuration
|
||||||
postgresql:
|
postgresql:
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ resources:
|
|||||||
cpu: 11m
|
cpu: 11m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 192Mi
|
memory: 128Mi
|
||||||
|
|
||||||
# Init containers for plugins
|
# Init containers for plugins
|
||||||
initContainers:
|
initContainers:
|
||||||
@@ -42,7 +42,7 @@ nodeAgent:
|
|||||||
cpu: 15m # VPA recommendation: 15m
|
cpu: 15m # VPA recommendation: 15m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 1Gi
|
memory: 256Mi
|
||||||
# Run on all nodes including control-plane for full backup coverage
|
# Run on all nodes including control-plane for full backup coverage
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: "node-role.kubernetes.io/control-plane"
|
- key: "node-role.kubernetes.io/control-plane"
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ controllers:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 256Mi
|
memory: 128Mi
|
||||||
pod:
|
pod:
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
|
|||||||
Reference in New Issue
Block a user