coredns default (#10200)

This commit is contained in:
Chris O'Haver
2018-09-10 09:13:52 -04:00
committed by k8s-ci-robot
parent 66eaff007c
commit 698e93b441
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.