From 4354b1a0e31dafa2b3ddc996859a4be7472e03d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=BBmuda?= Date: Fri, 10 Jun 2022 13:20:42 +0200 Subject: [PATCH] Regroup dependant commands in Lab 9c task 4 together --- .../Labs/LAB_09c-Implement_Azure_Kubernetes_Service.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Instructions/Labs/LAB_09c-Implement_Azure_Kubernetes_Service.md b/Instructions/Labs/LAB_09c-Implement_Azure_Kubernetes_Service.md index e93675a5..ea647d71 100644 --- a/Instructions/Labs/LAB_09c-Implement_Azure_Kubernetes_Service.md +++ b/Instructions/Labs/LAB_09c-Implement_Azure_Kubernetes_Service.md @@ -173,11 +173,6 @@ In this task, you will scale horizontally the number of pods and then number of 1. From the **Cloud Shell** pane, and run the following to scale the deployment by increasing of the number of pods to 2: ```sh - - RESOURCE_GROUP='az104-09c-rg1' - - AKS_CLUSTER='az104-9c-aks1' - kubectl scale --replicas=2 deployment/nginx-deployment ``` @@ -192,6 +187,10 @@ In this task, you will scale horizontally the number of pods and then number of 1. From the **Cloud Shell** pane, run the following to scale out the cluster by increasing the number of nodes to 2: ```sh + RESOURCE_GROUP='az104-09c-rg1' + + AKS_CLUSTER='az104-9c-aks1' + az aks scale --resource-group $RESOURCE_GROUP --name $AKS_CLUSTER --node-count 2 ```