Hacker News new | ask | show | jobs
by paxys 2124 days ago
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.
1 comments

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.