Hacker News new | ask | show | jobs
Ask HN: K8s HPA vs. VPA?
1 points by pentago 1923 days ago
In a nutshell, when would one want to use horizontal and when vertical pod autoscaling Kubernetes setup?
1 comments

So if you are stateless you want HPA. Since it buys you scalability and HA at the same price.

If you are state-full you should prefer VPA.

If you are state-full and need HA you might want to combine both.

Another case for VPA is data processing, e.g. pandas, which might be easier to scale to bigger datasets without going into out of memory data frames.