How to setup Azure Container Storage pool using pre-provisioned azure managed disks?
I enabled Azure Container Storage in my cluster a couple of days ago using the azureDisks type. The default Azure Container Storage pool was configured and mapped to dynamically provisioned disks.
Now, I am trying to create a pre-provisioned storage pool using existing Azure-managed disks, following the official documentation: Create a pre-provisioned storage pool.
My AKS cluster has all the necessary roles to access my disks (Microsoft.Compute/disks/read).
After applying the given configuration from the documentation:
yaml Copy Edit apiVersion: containerstorage.azure.com/v1 kind: StoragePool metadata: name: sp-preprovisioned namespace: acstor spec: poolType: azureDisk: disks: - reference: /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/RG-QDRANT/providers/Microsoft.Compute/disks/disk0 - reference: /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/RG-QDRANT/providers/Microsoft.Compute/disks/disk1 the new storage pool is created, but the rest of the setup (PV, PVC, and StorageClass) is not properly created. In AKS, I can see my new storage pool, but it has 0 capacity and an "Unknown" status.
I tried reinstalling the Container Storage extension in AKS, but that did not help.
Is there anything else I need to do to create a new storage pool from existing disks in my Azure subscription?
Br