Basically , when you run “kubectl get csidrivers.storage.k8s.io”, you see the file and disk csi drivers listed because those are enabled by default on AKS clusters. Additionally, when using Azure Container Storage with the Azure Disks storage type, the service leverages the Disk CSI driver.
In terms of using CSI drivers vs Azure Container Storage:
- Azure Container Storage in preview supports block storage read-write once storage types – Azure Disks, ephemeral disks, and Azure Elastic SAN. Ephemeral disks and Azure Elastic SAN aren’t currently supported via one of the existing CSI drivers, so they can only be leveraged via Azure Container Storage.
- If customer is interested in Azure Disks (which is both supported in Azure Container Storage and Disk CSI driver), our recommendation is to use Azure Container Storage, as it comes with additional benefits such as:
- Lower total cost of ownership (TCO): Azure Container Storage allows for a larger number of volumes supported per pod or node, and it reduces the storage resources needed by dynamically sharing storage resources.
- Rapid scale out and fast failover: Customers create a Storage Pool that maps to a backing storage type, and from there, it creates and mounts persistent volumes (PVs) over network block storage protocols (NVMe-oF or iSCSI) which offers a faster attach/detach of PVs.
- Lower total cost of ownership (TCO): Azure Container Storage allows for a larger number of volumes supported per pod or node, and it reduces the storage resources needed by dynamically sharing storage resources.
- If a customer was interested in using Azure Files or in a read-write many scenario, since that is not currently supported via Azure Container Storage, our recommendation would be to leverage the Files or Blob CSI drivers.
As for the relationship between OpenEBS and Azure Container Storage, Azure Container Storage is derived from OpenEBS – an open-source solution that provides container storage capabilities.
Finally there is also a nice video with good amount of explanation!
https://www.youtube.com/watch?v=mXH7FUIfoMs
Kindly let me know if you have any additional questions ! Happy to help out.
Regards,
Shiva.