TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

I wish pods were fully restartable

3 pointsby erkanerolalmost 5 years ago

1 comment

monusalmost 5 years ago
I think “restartability” comes down to what you lose when you restart it. In case of pods, you lose logs and in case of StatefulSets or volume mounted pods, some kind of state. Apparently, Kubernetes decided that this is too much to lose if they automated it.<p>But I agree with OP that it should be optional to restart them automatically since in a lot of cases it’s simply a state problem. Is that a problem needs debugging so we need to keep some traces? Yes but the same goes for container restart, too. So there is a tradeoff and I can see that it’s not much different than the tradeoff we make for container restart. Write the logs somewhere before the restart for example.