Feedback

Chat Icon

Cloud-Native Microservices With Kubernetes - 2nd Edition

A Comprehensive Guide to Building, Scaling, Deploying, Observing, and Managing Highly-Available Microservices in Kubernetes

Autoscaling Microservices in Kubernetes: Vertical Scaling
52%

The Frontiers of Horizontal Scaling

Horizontal scaling, even coupled with cluster autoscaling, is not a magic solution to all problems. Here is a scenario:

Your application needs 1.5Gi of memory to handle the current load. Your initial requests and limits were configured to 512Mi:

[...]
        resources:
          requests:
            memory: "512Mi"
            cpu: "250m"
          limits:

Cloud-Native Microservices With Kubernetes - 2nd Edition

A Comprehensive Guide to Building, Scaling, Deploying, Observing, and Managing Highly-Available Microservices in Kubernetes

Enroll now to unlock all content and receive all future updates for free.