advancedTop 100 Interview Questions
What's the difference between vertical and horizontal scaling for a containerized service?
Vertical scaling increases the resources (CPU/memory limits) given to existing container instances, which has a hard ceiling (the host's physical capacity) and usually requires a restart to apply. Horizontal scaling adds more replica instances behind a load balancer, which scales further, improves fault tolerance (more independent failure points), but requires the service to be stateless or to externalize its state first.
This is a Pro chapter
Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.
What's the difference between vertical and horizontal scaling for a containerized service?