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

This commit is contained in:
Lee Spottiswood 2020-04-29 07:34:25 +01:00 committed by GitHub
parent 72b68c7f82
commit a3d3f27aaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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