Add autoscalers for dnsmasq and kubedns

By default kubedns and dnsmasq scale when installed.
Dnsmasq is no longer a daemonset. It is now a deployment.
Kubedns is no longer a replicationcluster. It is now a deployment.
Minimum replicas is two (to enable rolling updates).

Reduced memory erquirements for dnsmasq and kubedns
This commit is contained in:
Matthew Mosesohn
2017-02-28 17:56:00 +03:00
parent 21d3d75827
commit 9cb12cf250
9 changed files with 141 additions and 27 deletions

View File

@@ -25,4 +25,8 @@ dnsmasq_image_tag: "{{ dnsmasq_version }}"
dns_cpu_limit: 100m
dns_memory_limit: 170Mi
dns_cpu_requests: 70m
dns_memory_requests: 70Mi
dns_memory_requests: 50Mi
# Autoscaler parameters
dnsmasq_nodes_per_replica: 10
dnsmasq_min_replicas: 1