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
|
nodelocaldns_memory_limit: 170Mi
|
||||||
nodelocaldnsdns_memory_requests: 70Mi
|
nodelocaldnsdns_memory_requests: 70Mi
|
||||||
|
|
||||||
|
# Limits for dns-autoscaler
|
||||||
|
dns_autoscaler_cpu_requests: 20m
|
||||||
|
dns_autoscaler_memory_requests: 10Mi
|
||||||
|
|
||||||
# Netchecker
|
# Netchecker
|
||||||
deploy_netchecker: false
|
deploy_netchecker: false
|
||||||
netchecker_port: 31081
|
netchecker_port: 31081
|
||||||
|
|
|
@ -66,8 +66,8 @@ spec:
|
||||||
image: "{{ dnsautoscaler_image_repo }}:{{ dnsautoscaler_image_tag }}"
|
image: "{{ dnsautoscaler_image_repo }}:{{ dnsautoscaler_image_tag }}"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: "20m"
|
cpu: {{ dns_autoscaler_cpu_requests }}
|
||||||
memory: "10Mi"
|
memory: {{ dns_autoscaler_memory_requests }}
|
||||||
command:
|
command:
|
||||||
- /cluster-proportional-autoscaler
|
- /cluster-proportional-autoscaler
|
||||||
- --namespace=kube-system
|
- --namespace=kube-system
|
||||||
|
|
Loading…
Reference in a new issue