Revert "Revert "coredns default (#10200)""

This reverts commit 7f4350d6ab7fc554ee53126d3875e845d2e43d1f.
This commit is contained in:
Zach Arnold
2018-09-21 10:34:40 -07:00
parent 045cbb1f57
commit 9520119986
2 changed files with 28 additions and 25 deletions
@@ -1,18 +1,18 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: kube-dns-autoscaler
name: dns-autoscaler
namespace: kube-system
labels:
k8s-app: kube-dns-autoscaler
k8s-app: dns-autoscaler
spec:
selector:
matchLabels:
k8s-app: kube-dns-autoscaler
k8s-app: dns-autoscaler
template:
metadata:
labels:
k8s-app: kube-dns-autoscaler
k8s-app: dns-autoscaler
spec:
containers:
- name: autoscaler
@@ -24,7 +24,7 @@ spec:
command:
- /cluster-proportional-autoscaler
- --namespace=kube-system
- --configmap=kube-dns-autoscaler
- --configmap=dns-autoscaler
- --target=<SCALE_TARGET>
# When cluster is using large nodes(with more cores), "coresPerReplica" should dominate.
# If using small nodes, "nodesPerReplica" should dominate.