I would like to add additional name servers to kube-dns
in the kube-system
namespace (solution provided here: https://stackoverflow.com/a/34085756/2461761), however doing this in an automated manner.
So I know I can create my own dns addon via https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/dns and launch it in the system's namespace, however, I am trying to provide a simple script to developers to spin up their own clusters with DNS resolution built in and don't want them to concern with the system namespace.
Is there a way to modify/set the SKYDNS_NAMESERVERS
environment variable without having to making a copy of the replication controller?
Or even set it via a command and re-launch the pods of the kube-dns
deployment?
Thank you in advance.