Container Storage Interface (CSI) is a widespread for exposing arbitrary block and file storage structures to containerized workloads on Kubernetes. By adopting and the use of CSI, Azure Kubernetes Service (AKS) can write, deploy, and iterate plug-ins to expose new or enhance existing storage systems in Kubernetes besides having to touch the core Kubernetes code and wait for its release cycles.
The CSI storage driver support on AKS permits us to natively use:
Azure disks can be used to create a Kubernetes DataDisk resource. Disks can use
Azure Premium Storage, backed through high-performance SSDs, or
Azure Standard Storage, backed by using regular HDDs or Standard SSDs.
For most production and development workloads, we need to use Premium Storage. Azure disks are mounted as ReadWriteOnce and are solely accessible to a single pod. For storage volumes that can be accessed by multiple pods simultaneously, we want to use Azure Files.
Azure Files can be used to mount an
SMB 3.0/3.1 share backed with the aid of an Azure storage account to pods. With Azure Files, we can share data across a couple of nodes and pods. Azure Files can use Azure Standard storage backed by regular HDDs or Azure Premium storage backed with the aid of high-performance SSDs.
The Azure disk Container Storage Interface (CSI) driver is a CSI specification-compliant driver used by Azure Kubernetes Service (AKS) to manage the
lifecycle of Azure disks.
Azure Disk CSI driver affords following features:
- Performance enhancement when attach or detach disks in parallel
- ZRS disk support
- Premium_ZRS, StandardSSD_ZRS disk kinds are supported, check greater details about Zone-redundant storage for managed disks
- Volume clone
- Resize disk PV without downtime
The Azure Files Container Storage Interface (CSI) driver is a CSI specification-compliant driver used with the aid of Azure Kubernetes Service (AKS) to manage the lifecycle of Azure Files shares.
Azure File CSI driver provides following features:
- NFS 4.1
- Private endpoint
- support creating large mount of file shares in parallel
Thanks for reading my article till end. I hope you discovered something different today. If you enjoyed this article then please share to your buddies and if you have suggestions or thoughts to share with me then please write in the comment box.