helpers: Scale DNS pods up/down with replicas
helpers: Scale DNS pods up/down with replicas

Use the spec.replicas field in the kube-dns deployment to reconfigure
the number of DNS pods in the cluster during pod restart. This should
restart the kube-dns pods correctly, similar to just deleting the pods.

A subsequent patch intends to split this usage out depending the status
of Cilium deployments, in order to mitigate issues where kube-dns pods
are deployed differently between test runs due to Cilium configuration
(like endpoint routes mode).

Signed-off-by: Joe Stringer <16a9a54ddf4259952e3c118c763138e83693d7fd@cilium.io>

cilium/cilium,michi-covalent/cilium,cilium/cilium,michi-covalent/cilium,michi-covalent/cilium,cilium/cilium,michi-covalent/cilium,michi-covalent/cilium,cilium/cilium,cilium/cilium