Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (12.7k points)
There is a problem that i am facing in kubernetes ,sometimes my pods status is image pull back off , how can i restart image pulling in my pods ?

1 Answer

0 votes
by (29.5k points)

Hi, generally when the status of your pod is ImgaePullBackOff the sytem automatically tries to re-pull the image in a matter of minutes, if you actually want to restart the pod then you'll probably have to delete the pod and recreate it.

To that in one command, you can try :

kubectl replace --force -f <pod yaml file>

To get deeper insights on yaml files you can refer the attached video tutorial 

Related questions

0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer

Browse Categories

...