简体   繁体   English

Kubernetes Pod总是容器创建

[英]Kubernetes Pods Always ContainerCreating

I have installed a cluster of one master and one node using kubadm 我已经使用kubadm安装了一个包含一个主节点和一个节点的集群

kubeadm version: &version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Whenever I try and install a pod (ngix, gafana, influxdb, heapster, tiller), it always stays in a state of ContainerCreating. 每当我尝试安装Pod(ngix,gafana,influxdb,heapster,tiller)时,它始终处于ContainerCreating状态。

I can't figure out how to diagnose the issue to try and get the containers to move to a Running state. 我无法弄清楚如何诊断问题以尝试使容器进入运行状态。

Use the following commands to check logs of Kubelet and diagnose the issue accordingly: 使用以下命令检查Kubelet的日志并相应地诊断问题:

systemctl status kubelet
journalctl -xeu kubelet

For details: https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster/ 有关详细信息: https : //kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM