当k8s coredns出现这种情况
通过 kubectl describe coredns-xxxxxx-xxxxx显示如下图
systemctl status kubelet -l
journalctl -u kubelet
修改kubectl配置
kubectl edit cm coredns -n kube-system
将loop删除或者注释掉,如图
删除coredns pods
kubectl delete pods coredns-59c898cd69-84wd9
kubectl delete pod coredns-59c898cd69-84wd9
查看pod运行状况
kubectl describe pods coredns-xxxx-xxx -n kube-system