Skip to content

Commit a6cce70

Browse files
committed
Update workshop vm image
1 parent df3dd46 commit a6cce70

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

prepare-vms/azure/aks/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
home-*

prepare-vms/azure/aks/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Create mixed AKS cluster
2+
3+
https://docs.microsoft.com/en-us/azure/aks/windows-container-cli#run-the-application
4+
5+
6+
az aks get-credentials --resource-group myResourceGroup --name myAKSCluster

prepare-vms/azure/aks/create

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
PASSWORD_WIN="XfKXhHoYYtYMh*T"
44
resourceGroup=xfry-2-windows-docker-workshop
5-
clusterName=xfry-aks-01
5+
clusterName=xfry-aks-02
66

77
# create 2-node linux pool
88
az aks create \
@@ -26,3 +26,10 @@ az aks nodepool add \
2626
--name npwin \
2727
--node-count 1 \
2828
--kubernetes-version 1.15.5
29+
30+
# download kube config
31+
timestamp=$(date +"%Y-%m-%d_%H-%M-%S")
32+
mv ~/.kube ~/.kube_$timestamp
33+
az aks get-credentials --resource-group $resourceGroup --name $clusterName
34+
mv ~/.kube home-.kube-$clusterName
35+
mv ~/.kube_$timestamp ~/.kube

prepare-vms/azure/terraform/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ variable "admin_username" {
3030
}
3131

3232
variable "workshop_image" {
33-
default = "windows_2019_846"
33+
default = "windows_2019_878"
3434
}
3535

3636
variable "vm_size" {

0 commit comments

Comments
 (0)