Calico + CIDR changes result in non functioning DNS without FQDN #9881
Labels
area/cni
CNI support
kind/bug
Categorizes issue or PR as related to a bug.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
Steps to reproduce the issue:
minikube start
--driver='virtualbox'
--profile=cluster0
--cpus=4
--memory=4096
--cni='calico'
--extra-config=kubeadm.pod-network-cidr=10.0.1.0/24
--service-cluster-ip-range='10.0.2.0/24'
--dns-domain=cluster0.local
Full output of failed command:
Quick easy test:
If a FQDN is used, I see what I would expect:
kubedns looks OK here, all system pods are running too:
But on the node (minikube ssh), resolv.conf for some reason has a .3 address:
I tried to override with --extra-config=kubelet.cluster-dns but did not work.
Full output of
minikube start
command used, if not already included:I have also tried this with v1.15
😄 [cluster0] minikube v1.14.2 on Darwin 10.14.6
✨ Using the virtualbox driver based on user configuration
👍 Starting control plane node cluster0 in cluster cluster0
🔥 Creating virtualbox VM (CPUs=4, Memory=4096MB, Disk=20000MB) ...
❗ This VM is having trouble accessing https://k8s.gcr.io
💡 To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/
🐳 Preparing Kubernetes v1.19.2 on Docker 19.03.12 ...
▪ kubeadm.pod-network-cidr=10.0.1.0/24
🔗 Configuring Calico (Container Networking Interface) ...
🔎 Verifying Kubernetes components...
🌟 Enabled addons: storage-provisioner, default-storageclass
❗ /usr/local/bin/kubectl is version 1.16.2, which may have incompatibilites with Kubernetes 1.19.2.
💡 Want kubectl v1.19.2? Try 'minikube kubectl -- get pods -A'
🏄 Done! kubectl is now configured to use "cluster0" by default
The text was updated successfully, but these errors were encountered: