Skip to content

Commit 8a0e051

Browse files
authored
mintmaker: set GOMEMLIMIT to avoid controller OOMKilled crashes (#7576)
Set GOMEMLIMIT=7GiB so the Go runtime respects Kubernetes memory limits. Although the controller is allocated 8GiB memory, in large clusters (e.g., p02 with 5000+ components) it can still be OOMKilled, possibly due to the Go runtime ignoring container limits.
1 parent c023d8c commit 8a0e051

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/mintmaker/production/base/manager_patch.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ spec:
1515
requests:
1616
cpu: 100m
1717
memory: 8Gi
18+
env:
19+
- name: GOMEMLIMIT
20+
value: "7GiB"

0 commit comments

Comments
 (0)