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, 2019 in Kubernetes by Ali
• 11,360 points
6,175 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, 2019 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
• 52,350 points
3,783 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
• 18,520 points
6,659 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
• 52,350 points
1,031 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

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

answered Jan 17, 2019 in Others by anonymous
15,555 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,350 points
1,420 views
0 votes
1 answer

Code error 403 when trying to access Kubernetes cluster

You get this error because you're getting ...READ MORE

answered Jan 4, 2019 in Kubernetes by Kabeer
24,812 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP