Centos
CentOS 8 steam 上的 Kuberenets,需要 systemd-resolved.service
我們已將 kubernets 1.19 集群節點作業系統從
CentOS 8
升級CentOS Steam 8
後的節點變為Ready
狀態,但 POD 未在該節點上啟動。收到此消息
kubelet open /run/systemd/resolve/resolv.conf: no such file or directory
kubelet[939]: E0628 11:38:45.492443 939 kuberuntime_sandbox.go:42] GeneratePodSandboxConfig for pod "kube-proxy-8rrl2_kube-system(09c30e9b-36a0-45b3-b64d-c052c0e27a9c)" failed: open /run/systemd/resolve/resolv.conf: no such file or directory
啟動
systemd-resolved.service
服務吊艙後啟動?CentOS steam 8 是否需要此服務才能執行 Kubernetes?
謝謝
對於 Centos Steam 8 OS,我需要啟動該
systemd-reolved
服務以使其工作。systemctl status systemd-resolved.service systemctl enable systemd-resolved.service