简体   繁体   中英

Kubernetes Pods Always ContainerCreating

I have installed a cluster of one master and one node using 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.

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:

systemctl status kubelet
journalctl -xeu kubelet

For details: https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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