Skip to content
Snippets Groups Projects
Unverified Commit a3d3f27a authored by Lee Spottiswood's avatar Lee Spottiswood Committed by GitHub
Browse files

allow dns autoscaler limits to be specified via variables (#6020)

parent 72b68c7f
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,10 @@ nodelocaldns_cpu_requests: 100m ...@@ -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: ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment