我正在使用minikube和远程docker容器使用Kubernetes。 我刚开始,所以我使用一个副本集和10个副本部署了一个应用程序,并为其定义了服务。
一切正常,我能够通过服务访问应用程序,并将其路由到节点端口。我还可以检查副本的状态,它说有10个节点正在运行。
ggplot(f, aes(one,two)) + geom_point()
但是,在日志中,我看到一条错误消息:
E:\k8s>kubectl get rs web-rs
NAME DESIRED CURRENT READY AGE
web-rs 10 10 10 5h
我已经检查了 kubernetes error : skipping pod synchronization
泊坞窗启动。我可以 kubectl获取节点,甚至运行docker命令,没有任何问题。 在docker ps上,我确实看到许多容器处于运行状态,所以对我来说docker本身似乎不是问题。 (我不是专家,所以可能是错误的) 命令输出:
Nov 19 03:05:53 minikube kubelet[2737]: I1119 03:05:53.979651 2737 kubelet.go:1794] skipping pod synchronization - [container runtime is down]
Nov 19 03:52:10 minikube kubelet[2737]: I1119 03:52:10.024647 2737 kubelet.go:1794] skipping pod synchronization - [container runtime is down PLEG is not healthy: pleg was last seen active 8m1.440052328s ago; threshold is 3m0s]
Nov 19 03:52:10 minikube kubelet[2737]: I1119 03:52:10.265727 2737 kubelet.go:1794] skipping pod synchronization - [container runtime is down PLEG is not healthy: pleg was last seen active 8m1.681197091s ago; threshold is 3m0s]
Nov 19 03:52:10 minikube kubelet[2737]: I1119 03:52:10.608070 2737 kubelet.go:1794] skipping pod synchronization - [container runtime is down PLEG is not healthy: pleg was last seen active 8m2.023574099s ago; threshold is 3m0s]
Nov 19 03:52:11 minikube kubelet[2737]: I1119 03:52:11.140992 2737 kubelet.go:1794] skipping pod synchronization - [PLEG is not healthy: pleg was last seen active 8m1.519168715s ago; threshold is 3m0s]
我无法确定此错误的原因以及如何进行调试。 有人可以建议吗?
致谢