Skip to content

💡 Feature Request - Automation for AKS Upgrade persistent volumes using in tree drivers to azure csi drivers #733

@judyer28

Description

@judyer28

Describe the solution you'd like

Regarding the recommendation: upgrade-persistent-volumes-using-in-tree-drivers-to-azure-csi-drivers

It appears this could be automated using an ARG query as the resource JSON does include the properties to check. For example:
"storageProfile": {
"diskCSIDriver": {
"enabled": true
},
"fileCSIDriver": {
"enabled": true
},

Describe alternatives you've considered

An example ARG query to catch the recommendation:
resources
| where type =~ 'Microsoft.ContainerService/managedClusters'
| where properties.storageProfile.diskCSIDriver.enabled != true or
properties.storageProfile.fileCSIDriver.enabled != true or
properties.storageProfile.blobCSIDriver.enabled != true

Additional context

Doc link show example property value after enablement:
docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions