Difference between revisions of "Microk8s DNS Troubleshooting"

From UVOO Tech Wiki
Jump to navigation Jump to search
Line 12: Line 12:
 
kubectl delete pod -n kube-system -l k8s-app=kube-dns
 
kubectl delete pod -n kube-system -l k8s-app=kube-dns
 
```
 
```
 +
 +
10.152.183.10 cluster ip address

Revision as of 05:05, 11 October 2021

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