mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-05 08:09:08 +00:00
Regroup dependant commands in Lab 9c task 4 together
This commit is contained in:
parent
7bf7f20782
commit
4354b1a0e3
@ -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
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user