Azure / Azure/Azure-Proactive-Resiliency-Library-v2

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

Open
#733 0 comments 0 reactions 0 assignees View on GitHub
Enhancement :new:
Dominant language
No language data
Stars
105
Forks
125
Avg merge
20m
Merged PRs (30d)
7

Description

## Describe the solution you'd like
Regarding the recommendation: [upgrade-persistent-volumes-using-in-tree-drivers-to-azure-csi-drivers](https://azure.github.io/Azure-Proactive-Resiliency-Library-v2/azure-resources/ContainerService/managedClusters/#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](https://learn.microsoft.com/en-us/azure/aks/csi-storage-drivers)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.