PERF(grafana): optimize cpu requests based on
- actual usage from grafa... - external-secrets: 20m → 5m (actual: 1m) - external-secrets-webhook: 10m → 2m (actual: 1m) - external-secrets-cert: 10m → 2m (actual: 1m) - cnpg: 100m → 5m (actual: 2m) - haproxy-ingress: 100m → 15m (actual: 9-10m)
This commit is contained in:
@@ -13,7 +13,7 @@ replicaCount: 1
|
||||
# Resource requests for operator
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
cpu: 5m # Reduced from 100m based on actual usage (2m)
|
||||
memory: 128Mi
|
||||
limits:
|
||||
# cpu: removed to prevent throttling
|
||||
|
||||
@@ -36,7 +36,7 @@ rootPasswordSecretKey: root-password
|
||||
resources:
|
||||
requests:
|
||||
memory: 512Mi
|
||||
cpu: 30m # Reduced to 30% of original (100m -> 30m)
|
||||
cpu: 5m # Reduced from 30m based on actual usage (1-2m)
|
||||
|
||||
# Service
|
||||
service:
|
||||
|
||||
@@ -51,7 +51,7 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "50m"
|
||||
cpu: "5m" # Reduced from 50m based on actual usage (1m)
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: 8081
|
||||
|
||||
@@ -26,9 +26,7 @@ resources:
|
||||
requests:
|
||||
memory: "256Mi"
|
||||
cpu: "30m" # Reduced to 30% of original (100m -> 30m)
|
||||
limits:
|
||||
# cpu: removed to prevent throttling
|
||||
memory: "1Gi"
|
||||
limits: {} # Empty limits to prevent Helm chart defaults in standalone mode
|
||||
|
||||
metrics:
|
||||
enabled: false
|
||||
|
||||
@@ -24,4 +24,4 @@ serviceMonitor:
|
||||
resources:
|
||||
requests:
|
||||
memory: 64Mi
|
||||
cpu: 50m
|
||||
cpu: 5m # Reduced from 50m based on actual usage (1-2m)
|
||||
|
||||
@@ -24,4 +24,4 @@ serviceMonitor:
|
||||
resources:
|
||||
requests:
|
||||
memory: 64Mi
|
||||
cpu: 50m
|
||||
cpu: 5m # Reduced from 50m based on actual usage (1-2m)
|
||||
|
||||
@@ -24,4 +24,4 @@ serviceMonitor:
|
||||
resources:
|
||||
requests:
|
||||
memory: 64Mi
|
||||
cpu: 50m
|
||||
cpu: 5m # Reduced from 50m based on actual usage (1-2m)
|
||||
|
||||
@@ -30,7 +30,7 @@ spec:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 200m
|
||||
# cpu: removed to prevent throttling
|
||||
memory: 256Mi
|
||||
|
||||
# Service configuration
|
||||
|
||||
Reference in New Issue
Block a user