I create a single master cluster with kubeadm, according to doc, I did it like this:
kubeadm init --pod-network-cidr=172.20.0.0/16
kubectl apply -f rbac-kdd.yaml
kubectl apply -f calico.yml
Now, everything is fine, all pods and services are running, but when I test CoreDNS, the problem is arise. I create a pod to test dns:
kubectl exec busybox -- nslookup kubernetes
It cannot resolve the kubernetes.
I think it maybe because the master IP is 10.0.197.143, and CoreDNS service's cluster-ip is 10.96.0.10. If I'm right, how can I change cluster-ip range?