Skip to content

Commit 1667fec

Browse files
fix(argocd): raise controller throughput and repo-server CPU cap for cold install (#224)
1 parent 323bdf8 commit 1667fec

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

internal/chart/providers/argocd/argocd-values.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,11 @@ configs:
6666
6767
6868
controller:
69+
# 17 child apps flip status simultaneously during install; the defaults
70+
# queued those transitions and slowed reconciliation on cold start.
6971
extraArgs:
70-
- --status-processors=10
71-
- --operation-processors=5
72+
- --status-processors=20
73+
- --operation-processors=10
7274
podAnnotations:
7375
loki.grafana.com/scrape: "true"
7476
prometheus.io/scrape: "true"
@@ -99,12 +101,15 @@ server:
99101
repoServer:
100102
podAnnotations:
101103
loki.grafana.com/scrape: "true"
104+
# 1500m (was 500m): on a cold install the repo-server renders all 17 helm
105+
# charts back-to-back and the 500m cap throttled it — slow first renders
106+
# surfaced as "connection refused" on the apps.
102107
resources:
103108
requests:
104109
cpu: 200m
105110
memory: 400Mi
106111
limits:
107-
cpu: 500m
112+
cpu: 1500m
108113
memory: 1Gi
109114
env:
110115
- name: ARGOCD_EXEC_TIMEOUT

0 commit comments

Comments
 (0)