Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Constantly rotating nodes in and out of the cluster and restarting/relocating pods, even if mostly automated, causes a lot of needless infrastructure strain. It is IMO one of the most overlooked parts of Kubernetes, and I wish there was a better solution to maintain stable, long-running processes when needed.


If your pods need to be long running, you can annotate them as such and they will not be autoscaled.

https://github.com/kubernetes/autoscaler/blob/master/cluster...


Will they then also not be updated?


Not automatically. The autoscaler and other tooling will wait for the Pod to complete execution, or you can manually force the upgrade.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: