adamant-kite-43734
08/04/2023, 1:27 PMgorgeous-pizza-36569
08/04/2023, 1:29 PMlive-restore
since otherwise the containers would of course be restarted during the docker daemon restart. But I have not tested that hypothesis.gorgeous-pizza-36569
08/04/2023, 1:45 PMlive-restore
enabled. Without it (after setting the containers’ restart policy to always
) the containers come up with working DNS after the daemon restart. (If the restart policy results in the containers staying stopped, the issue is of course avoided altogether.)rough-farmer-49135
08/04/2023, 1:59 PMrough-farmer-49135
08/04/2023, 1:59 PMrough-farmer-49135
08/04/2023, 2:00 PMgorgeous-pizza-36569
08/04/2023, 2:00 PMrough-farmer-49135
08/04/2023, 2:02 PMgorgeous-pizza-36569
08/04/2023, 2:04 PMrough-farmer-49135
08/04/2023, 2:05 PMrough-farmer-49135
08/04/2023, 2:13 PMkubectl edit -n kube-system configmap coredns
and then change line "forward . /etc/resolv.conf" to "forward . /etc/resolv.conf 8.8.8.8" (or replace Google's DNS there with the appropriate internal one).rough-farmer-49135
08/04/2023, 2:14 PM