Skip to content

Commit 6901f6c

Browse files
authored
Merge pull request #142 from snapp-incubator/fix/manager-memory-rightsize
chore: right-size manager memory back to 512Mi/128Mi
2 parents 0d1fd12 + 473c94d commit 6901f6c

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

config/manager/manager.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,12 @@ spec:
5050
resources:
5151
limits:
5252
cpu: 500m
53-
# The controllers cache cluster-wide Secrets/ConfigMaps; on a
54-
# cluster with ~33k secrets the cold-start LIST spike exceeded
55-
# 512Mi (and 2Gi), OOMKilling a fresh pod. 4Gi covers the spike.
56-
# TODO: scope the cache (cache.Options.ByObject -> user-argocd)
57-
# so this no longer scales with total cluster secret count.
58-
memory: 4Gi
53+
# Since v0.5.1 the Secret/ConfigMap caches are scoped to
54+
# user-argocd (cache.Options.ByObject), so steady-state usage is
55+
# ~30Mi regardless of cluster size. 512Mi is ample headroom.
56+
memory: 512Mi
5957
requests:
6058
cpu: 100m
61-
memory: 512Mi
59+
memory: 128Mi
6260
serviceAccountName: controller-manager
6361
terminationGracePeriodSeconds: 10

0 commit comments

Comments
 (0)