when I run sudo ./deployAddons.sh
under kubernetes/cluster/ubuntu
I get the following:
replicationcontroller "kube-dns-v14" created
The Service "kube-dns" is invalid.
spec.clusterIP: Invalid value: "192.168.3.10": provided IP is not in the valid range
Where to set this?(which file) and what variable to set?
192.168.3.10
is the default IP used in the ubuntu deployment (defined here. You should override it by setting the DNS_SERVER_IP
environment variable. It's value can be any unused value in the cluster IP range, but should match what the kubelets were started with (using the --cluster-dns
flag). See the DNS readme for more detail.