Browse Source

Update dnsmasq-autoscaler

changed target to be a deployment rather than a replicationcontroller.
pull/1230/head
Joe Duhamel 7 years ago
committed by GitHub
parent
commit
a9f260d135
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/dnsmasq/templates/dnsmasq-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}}

Loading…
Cancel
Save