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
• 10,660 points
111 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
• 50,570 points
1,121 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
• 17,560 points
1,483 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
• 50,570 points
101 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, 2019 in Others by anonymous
4,271 views
+3 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 11, 2019 in Kubernetes by Kalgi
• 50,570 points

reshown Apr 12, 2019 by Kalgi 1,156 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
2,568 views