last sync: 2025-May-01 19:36:43 UTC

Ensure ephemeral disks are used for OS disks on Agent Pools

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy 2cec5f47-bc40-40d1-8c7d-a39d9d6808d1 (1.0.0) to Azure
Display name Ensure ephemeral disks are used for OS disks on Agent Pools
Id 2cec5f47-bc40-40d1-8c7d-a39d9d6808d1
Version 1.0.0
Details on versioning
Category Kubernetes
Microsoft Learn
Description Ephemeral OS disks are created on the local virtual machine (VM) storage and not saved to the remote Azure Storage, as when using managed OS disks.
Mode All
Type Custom Community
Effect Default
Audit
Allowed
Deny, Audit, Disabled
RBAC role(s) none
Rule aliases IF (1)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.ContainerService/managedClusters/agentPools/osDiskType Microsoft.ContainerService managedClusters/agentPools properties.osDiskType True False
Rule resource types IF (1)
Microsoft.ContainerService/managedClusters/agentPools
JSON
EPAC
Deploy policy 2cec5f47-bc40-40d1-8c7d-a39d9d6808d1 (1.0.0) to Azure