Pods stuck in CrashBackLoopOff state

0 votes
One of my Cluster pods is stuck in CrashBackLoopOff state. How do I get out of this state?
Jan 4, 2019 in Kubernetes by Ali
• 11,360 points
983 views

1 answer to this question.

0 votes

There are three possibilities here @Ali,

  • Check your Dockerfile if it a valid ENTRYPOINT
  • Add this line in your dockerfile - easy but dirty solution
CMD exec /bin/bash -c "trap : TERM INT; sleep infinity & wait"
  • set tty as true in your container spec in your deployment file.
spec:
     containers:
     - image: image-name
       name: name
       tty: true     
answered Jan 4, 2019 by Lissa

Related Questions In Kubernetes

0 votes
1 answer

Pods stuck in terminating state after deleting ReplicationController

Delete the pods by FORCE, You should.<(-.-)> kubectl ...READ MORE

answered Jan 4, 2019 in Kubernetes by ajs3033
• 7,300 points
2,481 views
+2 votes
2 answers

Kubernetes Pods in Pending State

Hey @Shyam, you get this error because ...READ MORE

answered Oct 31, 2018 in Kubernetes by Kalgi
• 52,360 points
6,111 views
0 votes
1 answer

Pods IP address from inside a container in the pod

Make sure that your pod yaml file ...READ MORE

answered Aug 29, 2018 in Kubernetes by Kalgi
• 52,360 points
2,084 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,525 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,979 views
0 votes
1 answer

Error in syncing pod - Kubernetes

You are getting this error because all you're ...READ MORE

answered Jan 4, 2019 in Kubernetes by Layla
5,525 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