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