Page MenuHomePhabricator

toolforge: new k8s: evaluate DNS (coredns) autoscale options
Open, Needs TriagePublic

Description

@Bstorm said this:

I am thinking of checking if kubeadm enabled this: https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/dns-horizontal-autoscaler and adding it if not.
I realized the reason we had both pods on the first control plane node is probably because it was the only node when they started, which is fine. However, autoscaling is probably good.

and then:

On the DNS autoscaler, it is not enabled, and it deploys this thingy: https://github.com/kubernetes-incubator/cluster-proportional-autoscaler
That manages the autoscaler for the user according to cluster size. We’d probably want to go over the doc in the readme here: https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/dns-horizontal-autoscaler and
put up a patch. It’s in the kube-system namespace, so the image can be used directly from Google in our yaml file if we go with it.

Event Timeline

Bstorm added a comment.Dec 2 2019, 3:52 PM

On the first, kubeadm did not enable it. Therefore, we'll need to apply the setup. It runs in the kube-system namespace, so we are able to apply the official image directly for the cluster proportional autoscaler.