原文:[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.

之前我的Docker是用yum安裝的,docker的cgroup驅動程序默認設置為systemd。默認情況下Kubernetes cgroup為system,我們需要更改Docker cgroup驅動, 解決方法 添加以下內容vim etc docker daemon.json exec opts : native.cgroupdriver systemd 重啟dockersystemctl re ...

2022-03-28 15:08 0 1935 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM