[SOLVED] Pod restarting continuously impact

Issue

This Content is from Stack Overflow. Question asked by Hayi

I had an argument with my colleague about what is wrong if we used only readiness probe for every issue (database failure, external service loading after startup, …)

Is there some impact with restarting just one pod continuously till the issue is fixed ?

the same question for multiple pods restarting continuously at the same times



Solution

To Deploy with restartPolicy: never and then use kubectl patch to modify the restart policy of that deployment.

To avoid continuous restart attempt of failing pod there is one open issue.


This Question was asked in StackOverflow by Hayi and Answered by Ramesh kollisetty It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?