Microk8s DNS Troubleshooting

From UVOO Tech Wiki
Revision as of 05:07, 11 October 2021 by Busk (talk | contribs)
Jump to navigation Jump to search

https://github.com/ChristofSchwarz/qseok_on_Microk8s/issues/1

Get current configuration of KubeDNS (coredns)
kubectl describe configmap coredns -n kube-system

Check the logs of coredns
kubectl logs --selector k8s-app=kube-dns -n kube-system

Restart the coredns pod:
kubectl delete pod -n kube-system -l k8s-app=kube-dns

10.152.183.10 cluster ip address

$ kubectl get svc -n kube-system
NAME       TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                  AGE
kube-dns   ClusterIP   10.152.183.10   <none>        53/UDP,53/TCP,9153/TCP   77m