Skip to content

Commit 452ba85

Browse files
authored
Merge pull request #138 from snapp-incubator/fix/manager-memory-limit
fix: raise manager memory limit to 2Gi (OOMKilled crash-loop)
2 parents f539bb5 + f84e807 commit 452ba85

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

config/manager/manager.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,12 @@ spec:
5050
resources:
5151
limits:
5252
cpu: 500m
53-
memory: 512Mi
53+
# 512Mi was too small for the cold-start informer cache spike on
54+
# large clusters (cluster-wide Secret/ConfigMap/Namespace caches),
55+
# causing OOMKilled crash-loops on a fresh pod. Bumped for headroom.
56+
memory: 2Gi
5457
requests:
5558
cpu: 100m
56-
memory: 128Mi
59+
memory: 512Mi
5760
serviceAccountName: controller-manager
5861
terminationGracePeriodSeconds: 10

0 commit comments

Comments
 (0)