Kubeadm init: Everything crash after several CrashLoopBackOff

i got same issue.

coredns-6d4b75cb6d-pjll4         0/1     CrashLoopBackOff   19 (4m44s ago)   159m
kube-proxy-2fzdv                 0/1     CrashLoopBackOff   18 (2m20s ago)   106m

and the calico also got

calico-system      calico-node-4rdlm                         0/1     CrashLoopBackOff   21 (2m57s ago)   108m

it seemes like wrong nameserver at /etc/resolv.conf

nameserver 127.0.0.53
options edns0 trust-ad
search localdomain

check the netplan config add the nameservers and apply
then delete pod

root@node-0:~# kubectl delete pod  coredns-6d4b75cb6d-kblz4 -n kube-system

the pod will restart as well

kubectl get pod  -n kube-system
NAME                             READY   STATUS    RESTARTS       AGE
coredns-6d4b75cb6d-cb6ln         1/1     Running   0              15m
coredns-6d4b75cb6d-r9vhc         1/1     Running   0              14m
etcd-node-0                      1/1     Running   0              174m
kube-apiserver-node-0            1/1     Running   0              174m
kube-controller-manager-node-0   1/1     Running   0              174m
kube-proxy-2fzdv                 1/1     Running   21 (20m ago)   142m
kube-proxy-8d5xk                 1/1     Running   0              174m
kube-scheduler-node-0            1/1     Running   0              174m