mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-04 23:59:08 +00:00
Update LAB_09c-Implement_Azure_Kubernetes_Service.md
Fix environment variable assignments in order to work correctly in Bash
This commit is contained in:
parent
015c27abd4
commit
121ba6a4e0
@ -115,9 +115,9 @@ In this task, you will deploy a pod into the Azure Kubernetes Service cluster.
|
||||
1. From the Cloud Shell pane, run the following to retrieve the credentials to access the AKS cluster:
|
||||
|
||||
```sh
|
||||
$RESOURCE_GROUP='az104-09c-rg1'
|
||||
RESOURCE_GROUP='az104-09c-rg1'
|
||||
|
||||
$AKS_CLUSTER='az104-9c-aks1'
|
||||
AKS_CLUSTER='az104-9c-aks1'
|
||||
|
||||
az aks get-credentials --resource-group $RESOURCE_GROUP --name $AKS_CLUSTER
|
||||
```
|
||||
@ -174,9 +174,9 @@ In this task, you will scale horizontally the number of pods and then number of
|
||||
|
||||
```sh
|
||||
|
||||
$RESOURCE_GROUP='az104-09c-rg1'
|
||||
RESOURCE_GROUP='az104-09c-rg1'
|
||||
|
||||
$AKS_CLUSTER='az104-9c-aks1'
|
||||
AKS_CLUSTER='az104-9c-aks1'
|
||||
|
||||
kubectl scale --replicas=2 deployment/nginx-deployment
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user