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

Scaling applications on AKS manually

In this section, instead of modifying the YAML manifest file and resubmitting it, we'll use the kubectl command-line option to scale out the frontend application:

  1. In the previous section, we executed kubectl get deployment. Here, we'll scale out the azure-vote-front deployment. Now, run kubectl get deployments
  2. Run the following command to increase the replica count to 4. You should see a response containing deployment scaled:
kubectl scale deployments/azure-vote-front --replicas 4
  1. Let's look at kubectl get deployments and kubectl get pods to see the status again. In the following screenshot, we can see that 2 pods are ready for azure-vote-front and that the desired number is 4.
  1. The kubectl get pods ...
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