Difference between revisions of "Microk8s DNS Troubleshooting"
Jump to navigation
Jump to search
(Created page with "https://github.com/ChristofSchwarz/qseok_on_Microk8s/issues/1") |
|||
Line 1: | Line 1: | ||
https://github.com/ChristofSchwarz/qseok_on_Microk8s/issues/1 | 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 | ||
+ | ``` |
Revision as of 03:04, 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