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.

Ask HN: K8s HPA vs. VPA?

1 pointsby pentagoabout 4 years ago
In a nutshell, when would one want to use horizontal and when vertical pod autoscaling Kubernetes setup?

1 comment

streetcat1about 4 years ago
So if you are stateless you want HPA. Since it buys you scalability and HA at the same price.<p>If you are state-full you should prefer VPA.<p>If you are state-full and need HA you might want to combine both.<p>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.