Share via


ContainerServiceOSDiskType Enum

Definition

The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.

public enum ContainerServiceOSDiskType
type ContainerServiceOSDiskType = 
Public Enum ContainerServiceOSDiskType
Inheritance
ContainerServiceOSDiskType

Fields

Name Value Description
Managed 0

Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency.

Ephemeral 1

Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades.

Applies to