File tree 4 files changed +16
-2
lines changed
4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change
1
+ home- *
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change 2
2
3
3
PASSWORD_WIN=" XfKXhHoYYtYMh*T"
4
4
resourceGroup=xfry-2-windows-docker-workshop
5
- clusterName=xfry-aks-01
5
+ clusterName=xfry-aks-02
6
6
7
7
# create 2-node linux pool
8
8
az aks create \
@@ -26,3 +26,10 @@ az aks nodepool add \
26
26
--name npwin \
27
27
--node-count 1 \
28
28
--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
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ variable "admin_username" {
30
30
}
31
31
32
32
variable "workshop_image" {
33
- default = " windows_2019_846 "
33
+ default = " windows_2019_878 "
34
34
}
35
35
36
36
variable "vm_size" {
You can’t perform that action at this time.
0 commit comments