Pod stays in waiting in kubernetes cluster

0 votes
I've created a cluster and deployed a simple web page. But when I check my pods status, it says waiting. I have been sitting patiently thinking it'll get created but its been an hour now and its still in the waiting stage. Why is that so?
Oct 26, 2018 in Kubernetes by Hannah
• 14,080 points
30 views

1 answer to this question.

0 votes

If a Pod is stuck in the Waiting state, then it has been scheduled to a worker node, but it can’t run on that machine. The information from kubectl describe ... should be informative. The most common cause of Waiting pods is a failure to pull the image. There are three things to check:

  • Make sure that you have the name of the image correct.
  • Have you pushed the image to the repository?
  • Run a manual docker pull <image> on your machine to see if the image can be pulled.
Hope it helps..
answered Oct 26, 2018 by Kalgi
• 37,320 points

Related Questions In Kubernetes

0 votes
1 answer

Not able to access kubernetes api from a pod in azure

Follow these steps Add --bind-address=0.0.0.0 option to the line https://github.com/kubernetes/kubernetes/blob/v1.2.0/docs/getting-started-guides/coreos/azure/cloud_config_templates/kubernetes-cluster-main-nodes-template.yml#L218  Created ...READ MORE

answered Aug 30, 2018 in Kubernetes by Kalgi
• 37,320 points
39 views
0 votes
1 answer
0 votes
1 answer

Running A cronjob in a pod in Kubernetes

Unfortunately, you cannot run the CronJob inside a container ...READ MORE

answered Sep 17, 2018 in Kubernetes by Kalgi
• 37,320 points
180 views
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17 in Others by anonymous
1,132 views
+3 votes
1 answer
0 votes
5 answers
0 votes
3 answers

Retry pull image in a kubernetes pod

If the Pod is part of a ...READ MORE

answered Aug 29, 2018 in Kubernetes by Hannah
• 14,080 points
760 views