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 in Kubernetes by Ali
• 10,400 points
69 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 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 in Kubernetes by ajs3033
• 7,280 points
328 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
• 40,440 points
1,877 views
0 votes
1 answer
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
• 40,440 points
109 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 in Others by anonymous
2,115 views
+3 votes
1 answer
0 votes
1 answer

Error in syncing pod - Kubernetes

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

answered Jan 4 in Kubernetes by Layla
52 views