Skip to content

Commit 0b38822

Browse files
authored
Improve content from MGoedtel
1 parent 19c9902 commit 0b38822

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/aks/learn/quick-windows-container-deploy-powershell.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,16 @@ previous command also uses the default subnet in the default vnet created when r
128128

129129
## Add a Windows Server 2019 or Windows Server 2022 node pool
130130

131-
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. To use the non-default OS, you must specify the `OsSKU` to `Windows2019` or `Windows2022` except specifying `OsType` to `Windows`.
131+
AKS supports Windows Server 2019 and 2022 node pools. For Kubernetes version 1.25.0 and higher, Windows Server 2022 is the default operating system. For earlier Kubernetes versions, Windows Server 2019 is the default OS. To use Windows Server 2019, you need to specify the following parameters:
132+
- **osType** set the value to `Windows`
133+
- **osSKU** set the value to `Windows2019`
132134

133135
> [!NOTE]
134136
> OsSKU requires PowerShell Az module version "9.2.0" or higher.
135137
> Windows Server 2022 requires Kubernetes version "1.23.0" or higher.
136138
137139
```azurepowershell-interactive
138-
New-AzAksNodePool -ResourceGroupName myResourceGroup -ClusterName myAKSCluster -VmSetType VirtualMachineScaleSets -OsType Windows -OsSKU Windows2022 Windows -Name npwin
140+
New-AzAksNodePool -ResourceGroupName myResourceGroup -ClusterName myAKSCluster -VmSetType VirtualMachineScaleSets -OsType Windows -OsSKU Windows2019 Windows -Name npwin
139141
```
140142

141143
## Connect to the cluster

0 commit comments

Comments
 (0)