allow dns autoscaler limits to be specified via variables (#6020)
This commit is contained in:
parent
72b68c7f82
commit
a3d3f27aaa
2 changed files with 6 additions and 2 deletions
|
@ -15,6 +15,10 @@ nodelocaldns_cpu_requests: 100m
|
|||
nodelocaldns_memory_limit: 170Mi
|
||||
nodelocaldnsdns_memory_requests: 70Mi
|
||||
|
||||
# Limits for dns-autoscaler
|
||||
dns_autoscaler_cpu_requests: 20m
|
||||
dns_autoscaler_memory_requests: 10Mi
|
||||
|
||||
# Netchecker
|
||||
deploy_netchecker: false
|
||||
netchecker_port: 31081
|
||||
|
|
|
@ -66,8 +66,8 @@ spec:
|
|||
image: "{{ dnsautoscaler_image_repo }}:{{ dnsautoscaler_image_tag }}"
|
||||
resources:
|
||||
requests:
|
||||
cpu: "20m"
|
||||
memory: "10Mi"
|
||||
cpu: {{ dns_autoscaler_cpu_requests }}
|
||||
memory: {{ dns_autoscaler_memory_requests }}
|
||||
command:
|
||||
- /cluster-proportional-autoscaler
|
||||
- --namespace=kube-system
|
||||
|
|
Loading…
Reference in a new issue