PERF(storage): optimize resources via VPA
- cnpg: CPU 15m/15m, memory 100Mi/100Mi - minio: CPU 48m/104m, memory 126Mi/183Mi - pgweb: CPU 15m/15m, memory 100Mi/100Mi - velero: CPU 10m/14m, memory 50Mi/50Mi - velero-node-agent: CPU 15m/15m, memory 100Mi/100Mi - zot: CPU 15m/15m, memory 100Mi/248Mi
This commit is contained in:
@@ -10,13 +10,14 @@ image:
|
|||||||
# Replica count for operator
|
# Replica count for operator
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
# Resource requests for operator
|
# Resource settings (VPA lowerBound/target)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 121Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 121Mi
|
cpu: 15m
|
||||||
|
memory: 100Mi
|
||||||
|
|
||||||
# RBAC
|
# RBAC
|
||||||
rbac:
|
rbac:
|
||||||
|
|||||||
@@ -32,13 +32,14 @@ existingSecret: minio-root-password
|
|||||||
rootUserSecretKey: root-user
|
rootUserSecretKey: root-user
|
||||||
rootPasswordSecretKey: root-password
|
rootPasswordSecretKey: root-password
|
||||||
|
|
||||||
# Resources
|
# Resource settings (VPA lowerBound/target)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 175Mi
|
cpu: 48m
|
||||||
cpu: 15m
|
memory: 126Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 175Mi
|
cpu: 104m
|
||||||
|
memory: 183Mi
|
||||||
|
|
||||||
# Service
|
# Service
|
||||||
service:
|
service:
|
||||||
|
|||||||
@@ -20,11 +20,13 @@ controllers:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: pgweb-password
|
name: pgweb-password
|
||||||
key: database-url
|
key: database-url
|
||||||
|
# Resource settings (VPA lowerBound/upperBound)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
|
cpu: 15m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
|
|||||||
@@ -13,13 +13,14 @@ image:
|
|||||||
# Replica count (Velero does not support multiple replicas)
|
# Replica count (Velero does not support multiple replicas)
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
# Resource requests (VPA recommendation: 11m CPU)
|
# Resource settings (VPA lowerBound/target)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 11m
|
cpu: 10m
|
||||||
memory: 75Mi
|
memory: 50Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 75Mi
|
cpu: 14m
|
||||||
|
memory: 50Mi
|
||||||
|
|
||||||
# Init containers for plugins
|
# Init containers for plugins
|
||||||
initContainers:
|
initContainers:
|
||||||
@@ -37,11 +38,13 @@ deployNodeAgent: true
|
|||||||
nodeAgent:
|
nodeAgent:
|
||||||
podVolumePath: /var/lib/kubelet/pods
|
podVolumePath: /var/lib/kubelet/pods
|
||||||
privileged: false
|
privileged: false
|
||||||
|
# Resource settings (VPA lowerBound/target)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
|
cpu: 15m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
# Configuration for backup storage
|
# Configuration for backup storage
|
||||||
configuration:
|
configuration:
|
||||||
|
|||||||
@@ -32,12 +32,14 @@ controllers:
|
|||||||
port: 5000
|
port: 5000
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
# Resource settings (VPA lowerBound/target)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 256Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 256Mi
|
cpu: 15m
|
||||||
|
memory: 248Mi
|
||||||
service:
|
service:
|
||||||
zot:
|
zot:
|
||||||
controller: zot
|
controller: zot
|
||||||
|
|||||||
Reference in New Issue
Block a user