Error in syncing pod - Kubernetes

0 votes

I've successfully created a kubernetes cluster. Afterwards I created an nginx service. Now when I describe the pod that's running my service, I get the following error:

Error syncing pod, skipping: failed to "StartContainer" for "my-nginx01" with CrashLoopBackOff: "Back-off 10s restarting failed container=my-nginx01 pod=my-nginx01_default(b4f373b3-20c3-11e6-81d6-000c294bd99a)"
Jan 4 in Kubernetes by Ali
• 10,440 points
79 views

1 answer to this question.

0 votes

You are getting this error because all you're pods aren't in the running state yet. One of your pod is in the CrashLoopBackOff state. 

CrashLoopBackoff means your pods are starting, crashing, starting and crashing again and are stuck in that loop. You need to check your docker container and find out what's making them crash and you've specified a valid ENTRYPOINT in your Dockerfile.

answered Jan 4 by Layla

Related Questions In Kubernetes

0 votes
1 answer

Kubernetes error syncing pod

The issue caused by the docker container ...READ MORE

answered Aug 27, 2018 in Kubernetes by Kalgi
• 42,510 points
925 views
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
• 16,710 points
1,247 views
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
• 42,510 points
80 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
3,101 views
+3 votes
1 answer
0 votes
1 answer