Skip to content

Commit 97b9644

Browse files
committed
Allow memory to be overriden
1 parent b5e20c8 commit 97b9644

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

helmfile/charts/kconmon/templates/agent/daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ spec:
109109
resources:
110110
requests:
111111
cpu: {{ required "Please set the agent cpu" $.Values.resources.agent.cpu }}
112-
memory: 40Mi
112+
memory: {{ $.Values.resources.agent.memory | default "45Mi" }}
113113
limits:
114114
memory: 128Mi
115115
tolerations:

helmfile/charts/kconmon/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ resources:
4242
# This will scale with the number of nodes in your cluster at loosely 1m per node
4343
# The minimum value is 25m
4444
cpu: 70m
45+
memory: 45Mi

0 commit comments

Comments
 (0)