Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 69034fc

Browse files
authoredOct 3, 2022
updates
1 parent b4f70e4 commit 69034fc

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed
 

‎deploy/k8s/create-aks.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# Change this for a different VM size
23
vmSize=Standard_D2_v5
34

45
# Color theming
@@ -78,7 +79,7 @@ if [ -z "$existingAks" ]
7879
then
7980
echo
8081
echo "Creating AKS cluster \"$eshopAksName\" in resource group \"$eshopRg\" and location \"$eshopLocation\"."
81-
echo "Using VM size \"$vmSize\". You can change this by modifying the value of the \"vmSize\" variable at the top of \"create-aks.sh\""
82+
echo "${warningStyle}Using VM size \"$vmSize\". You can change this by modifying the value of the \"vmSize\" variable at the top of \"create-aks.sh\"${defaultTextStyle}"
8283
aksCreateCommand="az aks create -n $eshopAksName -g $eshopRg -c $eshopNodeCount --node-vm-size $vmSize --vm-set-type VirtualMachineScaleSets -l $eshopLocation --enable-managed-identity --generate-ssh-keys -o json"
8384
echo "${newline} > ${azCliCommandStyle}$aksCreateCommand${defaultTextStyle}${newline}"
8485
retry=5

‎deploy/k8s/quickstart.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
2-
defaultLocation="centralus"
2+
# Change this for a different location
3+
defaultLocation="eastus"
4+
# Change this for a different resource group name
35
defaultRg="eshop-learn-rg"
46

57
# Color theming
@@ -32,16 +34,16 @@ done
3234

3335
if [ -z "$eshopLocation" ]
3436
then
35-
echo "Using the default location: $defaultLocation"
37+
echo "Using the default location: ${warningStyle}$defaultLocation${defaultTextStyle}"
3638
eshopLocation=$defaultLocation
3739
fi
3840

3941
if [ -z "$eshopRg" ]
4042
then
41-
echo "Using the default resource group: $defaultRg"
43+
echo "Using the default resource group: ${warningStyle}$defaultRg${defaultTextStyle}"
4244
eshopRg=$defaultRg
4345
fi
44-
echo "${bold}Note: You can change the default location and resource group by modifying the variables at the top of quickstart.sh.${defaultTextStyle}"
46+
echo "${warningStyle}Note: You can change the default location and resource group by modifying the variables at the top of quickstart.sh.${defaultTextStyle}"
4547

4648
if [ ! -z "$eshopSubs" ]
4749
then

0 commit comments

Comments
 (0)
Please sign in to comment.