Kubernetes dashboard pods is not running

2/26/2018

I'd set up kubernetes with kubeadm, and launched dashboard by:

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml

and checked pod status:

kubectl gets pods --all-namespaces

But it is not running. It's in "containerCreating" status.

kube-system kubernetes-dashboard-5bd6f767c7-v5g8q 0/1 ContainerCreating 0 29m

I checked log by:

kubectl logs kubernetes-dashboard-5bd6f767c7-v5g8q --namespace=kube-system

And it says:

Error from server (BadRequest): container "kubernetes-dashboard" in pod "kubernetes-dashboard-5bd6f767c7-v5g8q" is waiting to start: ContainerCreating

I did all the steps to install the dashboard. But not sure what's wrong here. Would you like to help me?

-- Snipper03
kubernetes
kubernetes-dashboard

0 Answers