Skip to content

Commit 8efb2cd

Browse files
authored
Merge pull request #7995 from zalando-incubator/cost_controller_memory
configurable memory for cost_controller pods
2 parents 2283f4e + 1847c9f commit 8efb2cd

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)