PERF(argocd): optimize resources via VPA
- Set controller CPU to 22m/839m, memory to 1388Mi/1861Mi - Set server CPU to 15m/15m, memory to 163Mi/218Mi - Set repoServer CPU to 15m/84m, memory to 225Mi/1310Mi - Set redis CPU to 15m/15m, memory to 100Mi/100Mi
This commit is contained in:
@@ -61,13 +61,14 @@ controller:
|
|||||||
args:
|
args:
|
||||||
appResyncPeriod: "0"
|
appResyncPeriod: "0"
|
||||||
|
|
||||||
# Resource settings
|
# Resource settings (VPA lowerBound/upperBound)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 476m
|
cpu: 22m
|
||||||
memory: 1324Mi
|
memory: 1388Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 1324Mi
|
cpu: 839m
|
||||||
|
memory: 1861Mi
|
||||||
|
|
||||||
# Schedule on master node
|
# Schedule on master node
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
@@ -101,13 +102,14 @@ server:
|
|||||||
traefik.ingress.kubernetes.io/router.middlewares: authelia-authelia-auth@kubernetescrd
|
traefik.ingress.kubernetes.io/router.middlewares: authelia-authelia-auth@kubernetescrd
|
||||||
tls: true
|
tls: true
|
||||||
|
|
||||||
# Resource settings
|
# Resource settings (VPA lowerBound/upperBound)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 138Mi
|
memory: 163Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 138Mi
|
cpu: 15m
|
||||||
|
memory: 218Mi
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# REPO SERVER (Deployment)
|
# REPO SERVER (Deployment)
|
||||||
@@ -122,22 +124,26 @@ repoServer:
|
|||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
# Resource settings (VPA lowerBound/upperBound)
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 1200Mi
|
memory: 225Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 1200Mi
|
cpu: 84m
|
||||||
|
memory: 1310Mi
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# REDIS (Deployment)
|
# REDIS (Deployment)
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
redis:
|
redis:
|
||||||
|
# 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
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user