我是用二进制部署的集群,贴图是 nginx pod日志,
健康检查没过怎么处理 日志我贴到下面了,找个给我用的 全是公网ip有关系吗,是不是配置文件问题 ,因为我比较菜,所以辛苦老是耐心给我讲解一下,谢谢
系统日志如下
kubelet 日志
Dec 29 10:42:47 node-3 kubelet[16910]: E1229 10:42:47.986654 16910 pod_workers.go:191] Error syncing pod 7cf27d45a874e9a25860392cd83c3e6a ("nginx-proxy-node-3_kube-system(7cf27d45a874e9a25860392cd83c3e6a)"), skipping: failed to "StartContainer" for "nginx-proxy" with CrashLoopBackOff: "back-off 5m0s restarting failed container=nginx-proxy pod=nginx-proxy-node-3_kube-system(7cf27d45a874e9a25860392cd83c3e6a)"
Dec 29 10:42:48 node-3 kubelet[16910]: E1229 10:42:48.659474 16910 controller.go:144] failed to ensure lease exists, will retry in 7s, error: Get "https://127.0.0.1:6443/apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/node-3?timeout=10s": dial tcp 127.0.0.1:6443: connect: connection refused
Dec 29 10:42:50 node-3 kubelet[16910]: W1229 10:42:50.988957 16910 status_manager.go:550] Failed to get status for pod "nginx-proxy-node-3_kube-system(7cf27d45a874e9a25860392cd83c3e6a)": Get "https://127.0.0.1:6443/api/v1/namespaces/kube-system/pods/nginx-proxy-node-3": dial tcp 127.0.0.1:6443: connect: connection refused