Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ spec:
resources:
limits:
cpu: 500m
# 512Mi was too small for the cold-start informer cache spike on
# large clusters (cluster-wide Secret/ConfigMap/Namespace caches),
# causing OOMKilled crash-loops on a fresh pod. Bumped for headroom.
memory: 2Gi
# The controllers cache cluster-wide Secrets/ConfigMaps; on a
# cluster with ~33k secrets the cold-start LIST spike exceeded
# 512Mi (and 2Gi), OOMKilling a fresh pod. 4Gi covers the spike.
# TODO: scope the cache (cache.Options.ByObject -> user-argocd)
# so this no longer scales with total cluster secret count.
memory: 4Gi
requests:
cpu: 100m
memory: 512Mi
Expand Down