Skip to Content
Migrating Applications to the Cloud with Azure
book

Migrating Applications to the Cloud with Azure

by Sjoukje Zaal, Amit Malik, Sander Rossel, Jason Marston, Mohamed Waly, Stefano Demiliani
December 2019
Intermediate to advanced content levelIntermediate to advanced
494 pages
11h 41m
English
Packt Publishing
Content preview from Migrating Applications to the Cloud with Azure

Autoscaling AKS applications

When autoscaling applications, the cloud computing platform itself has to have the ability to automatically increase or decrease the number of application instances based on the utilization and load. 

In Kubernetes, the Horizontal Pod Autoscaler (HPA), a component of Kubernetes, is responsible for performing autoscale-related operations. It is implemented as a control loop that watches the utilization and increases or decreases the number for pods for an application instance.

You can define a threshold such as a percentage of CPU utilization to watch for and then increase/decrease the pods to a maximum/minimum number. Let's use the kubectl command to configure autoscaling for azure-vote-front deployment:

kubectl ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Migrating Applications to the Cloud

Migrating Applications to the Cloud

Steve Swoyer
Microsoft Azure: Planning, Deploying, and Managing the Cloud

Microsoft Azure: Planning, Deploying, and Managing the Cloud

Julian Soh, Marshall Copeland, Anthony Puca, Micheleen Harris

Publisher Resources

ISBN: 9781839217470Supplemental Content