mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #91466 from prameshj/dns-autoscaler
Include Unschedulable nodes to compute kube-dns replica in DNS autoscaler.
This commit is contained in:
commit
bc06f367d4
@ -86,7 +86,7 @@ spec:
|
|||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
containers:
|
containers:
|
||||||
- name: autoscaler
|
- name: autoscaler
|
||||||
image: k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.7.1
|
image: k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.8.0
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: "20m"
|
cpu: "20m"
|
||||||
@ -99,7 +99,7 @@ spec:
|
|||||||
- --target={{.Target}}
|
- --target={{.Target}}
|
||||||
# When cluster is using large nodes(with more cores), "coresPerReplica" should dominate.
|
# When cluster is using large nodes(with more cores), "coresPerReplica" should dominate.
|
||||||
# If using small nodes, "nodesPerReplica" should dominate.
|
# If using small nodes, "nodesPerReplica" should dominate.
|
||||||
- --default-params={"linear":{"coresPerReplica":256,"nodesPerReplica":16,"preventSinglePointFailure":true}}
|
- --default-params={"linear":{"coresPerReplica":256,"nodesPerReplica":16,"preventSinglePointFailure":true,"includeUnschedulableNodes":true}}
|
||||||
- --logtostderr=true
|
- --logtostderr=true
|
||||||
- --v=2
|
- --v=2
|
||||||
tolerations:
|
tolerations:
|
||||||
|
Loading…
Reference in New Issue
Block a user