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
5,524 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,360 points
3,479 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,570 points
6,191 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,360 points
804 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
14,523 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 12, 2019 in Kubernetes by Kalgi
• 52,360 points

reshown Apr 12, 2019 by Kalgi 5,977 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
23,737 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