Skip to content

Commit 1847c9f

Browse files
committed
configurable memory for cost_controller pods
1 parent 2283f4e commit 1847c9f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

cluster/config-defaults.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,3 +1096,6 @@ sysctl_settings: ""
10961096

10971097
# enables/disables the minDomains field for pod topology spread.
10981098
min_domains_in_pod_topology_spread_enabled: "true"
1099+
1100+
1101+
pod_deletion_cost_controller_memory: 200Mi

cluster/manifests/skipper/pod-deletion-cost-controller.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ spec:
4646
resources:
4747
limits:
4848
cpu: "50m"
49-
memory: 100Mi
49+
memory: "{{ .Cluster.ConfigItems.pod_deletion_cost_controller_memory }}"
5050
requests:
5151
cpu: "50m"
52-
memory: 100Mi
52+
memory: "{{ .Cluster.ConfigItems.pod_deletion_cost_controller_memory }}"
5353
securityContext:
5454
readOnlyRootFilesystem: true
5555
runAsNonRoot: true

0 commit comments

Comments
 (0)