AKS icon indicating copy to clipboard operation
AKS copied to clipboard

[Feature] Allow configuring the resulting StorageClass name in Container Storage `StoragePool`

Open felfa01 opened this issue 1 year ago • 5 comments

Is your feature request related to a problem? Please describe. I'd like to be able to configure the name that the resulting StorageClass will have when deploying a StoragePool. One of my use cases would be to migrate from CSI Drivers to Azure Container Storage without requiring my tenants to update their PVC manifests with a new StorageClassName.

This was previously available in the now deprecated apiVersion v1alpha1 under .spec.poolType.azureDisk.storageClassName.

Describe the solution you'd like

apiVersion: containerstorage.azure.com/v1alpha1
kind: StoragePool
metadata:
  name: my-storage-pool-name
  namespace: acstor
spec:
  storageClassName: my-storage-class-name # A new field for setting the resulting StorageClass name
  poolType:
    azureDisk:
      skuName: Premium_LRS
  resources:
    requests:
      storage: 1Ti

Describe alternatives you've considered Use the deprecated apiVersion v1alpha1?

felfa01 avatar Dec 20 '24 14:12 felfa01

Do consider this please. It would enable a smooth experience in migrating to your cool new feature.

felfa01 avatar Feb 19 '25 18:02 felfa01

@felfa01 Thanks for sharing the feedback and love of Azure Container Storage. 👍 We are discussing your ask with engineering team and will get back to you shortly.

fhryo-msft avatar Apr 11 '25 01:04 fhryo-msft

@felfa01 , I'd like to share you that you can create a custom storage class with your desired storage class name, based on the configuration of the default storage class that is created with storage pool yaml. Azure Container Storage capabilities are expected to behave the same with the custom storage class. This should address your need. However, you need to ensure that there are no persistent volumes remaining that are created with the custom storage class, when you delete the custom storage class.

Supporting custom storage class name is in the product backlog but there is not concreate release plan in the short term.

If you are open to discuss details regarding your user case and scenario, you are welcome to contact us with [email protected].

fhryo-msft avatar Apr 18 '25 05:04 fhryo-msft

This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs within 7 days of this comment. @olsenme, @fhryo-msft

This issue will now be closed because it hasn't had any activity for 7 days after stale. @felfa01 feel free to comment again on the next 7 days to reopen or open a new issue after that time if you still have a question/issue or suggestion.