You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/learn/quick-windows-container-deploy-cli.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,16 +105,16 @@ az aks create \
105
105
>
106
106
> If you do not specify an administrator username and password when setting `--vm-set-type VirtualMachineScaleSets` and `--network-plugin azure`, the username is set to *azureuser* and the password is set to a random value.
107
107
>
108
-
> The administrator username can't be changed, but you can change the administrator password your AKS cluster uses for Windows Server nodes using `--az aks update`. For more details, see [Windows Server node pools FAQ][win-faq-change-admin-creds].
108
+
> The administrator username can't be changed, but you can change the administrator password your AKS cluster uses for Windows Server nodes using `az aks update`. For more details, see [Windows Server node pools FAQ][win-faq-change-admin-creds].
109
109
110
110
After a few minutes, the command completes and returns JSON-formatted information about the cluster. Occasionally the cluster can take longer than a few minutes to provision. Allow up to 10 minutes in these cases.
111
111
112
112
## Add a Windows node pool
113
-
By default, an AKS cluster is created with a node pool that can run Linux containers. Use `--az aks nodepool add` command to add an additional node pool that can run Windows Server containers alongside the Linux node pool.
113
+
By default, an AKS cluster is created with a node pool that can run Linux containers. Use the the `az aks nodepool add` command to add an additional node pool that can run Windows Server containers alongside the Linux node pool.
114
114
115
115
AKS supports Windows Server 2019 and Windows Server 2022 node pools. For Kubernetes versions "1.25.0" and higher, Windows Server 2022 is the default operating system. For earlier versions, Windows Server 2019 will be the default operating system.
116
116
117
-
Use `--az aks nodepool add` command to add a Windows nodepool:
117
+
Use the `az aks nodepool add` command to add a Windows nodepool:
118
118
119
119
```azurecli
120
120
az aks nodepool add \
@@ -125,12 +125,12 @@ az aks nodepool add \
125
125
--node-count 1
126
126
```
127
127
128
-
The above command creates a new node pool named *npwin* and adds it to the *myAKSCluster*. The above command also uses the default subnet in the default vnet created when running `--az aks create`. The OS SKU was not specified so the nodepool will be set to the default operating system based on the Kubernetes version of the cluster.
128
+
The above command creates a new node pool named *npwin* and adds it to the *myAKSCluster*. The above command also uses the default subnet in the default vnet created when running `az aks create`. The OS SKU was not specified so the nodepool will be set to the default operating system based on the Kubernetes version of the cluster.
129
129
130
130
131
131
## Add a Windows Server 2019 node pool
132
132
133
-
When creating a Windows node pool, the default operating system will be Windows Server 2019 for Kubernetes versions below "1.25.0". To use Windows Server 2019 nodes when not default, you will need to specify an OS SKU type of `--Windows2019`.
133
+
When creating a Windows node pool, the default operating system will be Windows Server 2019 for Kubernetes versions below "1.25.0". To use Windows Server 2019 nodes when not default, you will need to specify an OS SKU type of `Windows2019`.
134
134
135
135
```azurecli-interactive
136
136
az aks nodepool add \
@@ -142,16 +142,16 @@ az aks nodepool add \
142
142
--node-count 1
143
143
```
144
144
145
-
The above command creates a new Windows Server 2019 node pool named *npwin* and adds it to the *myAKSCluster*. The above command also uses the default subnet in the default vnet created when running `--az aks create`.
145
+
The above command creates a new Windows Server 2019 node pool named *npwin* and adds it to the *myAKSCluster*. The above command also uses the default subnet in the default vnet created when running `az aks create`.
146
146
147
147
## Add a Windows Server 2022 node pool
148
148
149
-
When creating a Windows node pool, the default operating system will be Windows Server 2022 for Kubernetes versions "1.25.0" and higher. To use Windows Server 2022 nodes when not default, you will need to specify an OS SKU type of `--Windows2022`.
149
+
When creating a Windows node pool, the default operating system will be Windows Server 2022 for Kubernetes versions "1.25.0" and higher. To use Windows Server 2022 nodes when not default, you will need to specify an OS SKU type of `Windows2022`.
150
150
151
151
> [!NOTE]
152
152
> Windows Server 2022 requires Kubernetes version "1.23.0" or higher.
153
153
154
-
Use `--az aks nodepool add` command to add a Windows Server 2022 node pool:
154
+
Use `az aks nodepool add` command to add a Windows Server 2022 node pool:
0 commit comments