Browse Source

Merge pull request #1230 from jduhamel/jduhamel-kubedns-autoscaler-1

Update kubedns-autoscaler change target
pull/1233/head
Spencer Smith 8 years ago
committed by GitHub
parent
commit
d6cbdbd6aa
2 changed files with 2 additions and 2 deletions
  1. 2
      roles/dnsmasq/templates/dnsmasq-autoscaler.yml
  2. 2
      roles/kubernetes-apps/ansible/templates/kubedns-autoscaler.yml

2
roles/dnsmasq/templates/dnsmasq-autoscaler.yml

@ -41,7 +41,7 @@ spec:
- /cluster-proportional-autoscaler
- --namespace=kube-system
- --configmap=dnsmasq-autoscaler
- --target=ReplicationController/dnsmasq
- --target=Deployment/dnsmasq
# When cluster is using large nodes(with more cores), "coresPerReplica" should dominate.
# If using small nodes, "nodesPerReplica" should dominate.
- --default-params={"linear":{"nodesPerReplica":{{ dnsmasq_nodes_per_replica }},"preventSinglePointFailure":true}}

2
roles/kubernetes-apps/ansible/templates/kubedns-autoscaler.yml

@ -42,7 +42,7 @@ spec:
- --namespace=kube-system
- --configmap=kubedns-autoscaler
# Should keep target in sync with cluster/addons/dns/kubedns-controller.yaml.base
- --target=replicationcontroller/kubedns
- --target=Deployment/kubedns
- --default-params={"linear":{"nodesPerReplica":{{ kubedns_nodes_per_replica }},"min":{{ kubedns_min_replicas }}}}
- --logtostderr=true
- --v=2

Loading…
Cancel
Save