https://pulumi.com logo
#general
Title
# general
b

bright-flag-46266

02/20/2023, 12:05 PM
Hello, I am trying to enable Azures blobCSIDriver (https://learn.microsoft.com/en-us/azure/aks/azure-blob-csi?tabs=NFS) on a managed cluster in the azure.native (https://www.pulumi.com/registry/packages/azure-native/api-docs/containerservice/managedcluster/) package. However, I cannot figure out how to do so. Azures documentation uses the Azure CLI like so
az aks update --enable-blob-driver -n myAKSCluster -g myResourceGroup
which doesn't help much wrt. pulumi and I cannot find anything in the pulumi docs on how to do this for the azure.native package.
So after a bit more digging it seems that the az command internally just sets a storageProfile on the cluster like so
Copy code
"storageProfile": {
    "blobCsiDriver": {
      "enabled": true
    },
    "diskCsiDriver": {
      "enabled": true
    },
    "fileCsiDriver": {
      "enabled": true
    },
    "snapshotController": {
      "enabled": true
    }
  },
There are many profile options available on the ManagedCluster resource like
AgentPoolProfiles
, but no StorageProfile, so maybe it is just not supported?