ContainerServiceOSSku Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
public enum ContainerServiceOSSku
type ContainerServiceOSSku =
Public Enum ContainerServiceOSSku
- Inheritance
-
ContainerServiceOSSku
Fields
| Name | Value | Description |
|---|---|---|
| Ubuntu | 0 | Use Ubuntu as the OS for node images. |
| AzureLinux | 1 | Use AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. |
| AzureLinux3 | 2 | Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version. |
| CblMariner | 3 | Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead. |
| Windows2019 | 4 | Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa. |
| Windows2022 | 5 | Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa. |
| Ubuntu2204 | 6 | Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions. |
| Ubuntu2404 | 7 | Use Ubuntu2404 as the OS for node images, however, Ubuntu 24.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see see https://aka.ms/aks/supported-ubuntu-versions. |