Closed
Description
I use kubernetes v12, my system is ubuntu 16.
I use the followed command to create DNS resource.
wget https://raw.githubusercontent.com/coredns/deployment/master/kubernetes/coredns.yaml.sed
wget https://raw.githubusercontent.com/coredns/deployment/master/kubernetes/deploy.sh
bash deploy.sh -i 10.32.0.10 -r "10.32.0.0/24" -s -t coredns.yaml.sed | kubectl apply -f -
After created coredns resource: I check the resources status.
- check coredns service
kubectl get svc -n kube-system
- check code DNS pod endpoints
kubectl get ep -n kube-system
- My DNS config:
cat /etc/recolv.conf
- Check CoreDNS pod logs
I found CoreDNS pod ip cannot connected to node DNS server ip address.
Metadata
Metadata
Assignees
Labels
No labels