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
1,227 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,728 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,350 points
7,403 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,350 points
2,475 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,577 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,434 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
6,185 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