Azure AKS Cluster Storage Initialization
Integration with Azure AKS and storage initialization configuration.
Constraints and Limitations
The default azurefile file storage class may not support permission changes after mounting, which can cause some applications like PostgreSQL and Jenkins to malfunction.
Prerequisites
- If you have already created an AKS cluster, access the Azure AKS cluster ; if you haven’t created an AKS cluster, create an Azure AKS cluster .
Procedures
-
Go to Platform Management, click Storage Management > Storage Class in the left navigation bar.
-
Click the Update Project
button on the right of the storage class named default or azurefile.Tip: After accessing the AKS cluster, default storage classes are generated as follows. It is recommended to use the default storage class for block storage and the azurefile storage class for file storage. Refer to Explanation of Default Storage Classes for details.
-
Choose how to Assign Projects as needed, then click Update to assign the default or azurefile storage class to projects for use.
Tip: If the default storage class does not meet your requirements, you can create a new storage class and modify the relevant parameters as needed, as described in Explanation of Storage Class Parameters .
Related Information
Explanation of Default Storage Classes
| Storage Class Name | Storage Class Type | Description |
|---|---|---|
| (Recommended) azurefile | File Storage | Creates an Azure file share using Azure Standard Storage. |
| (Recommended) default | Block Storage | Creates managed disks using Azure StandardSSD Storage. |
| azurefile-csi | File Storage | Creates an Azure file share using Azure Standard Storage. |
| azurefile-csi-nfs | File Storage | Creates an Azure file share using Azure Standard Storage with NFS protocol. |
| azurefile-csi-premium | File Storage | Creates an Azure file share using Azure Premium Storage. |
| azurefile-premium | File Storage | Creates an Azure file share using Azure Premium Storage. |
| managed | Block Storage | Creates managed disks using Azure StandardSSD Storage. |
| managed-csi | Block Storage | Creates managed disks using Azure StandardSSD locally redundant storage (LRS). |
| managed-csi-premium | Block Storage | Creates managed disks using Azure Premium locally redundant storage (LRS). |
| managed-premium | Block Storage | Creates managed disks using Azure Premium Storage. |
Explanation of Storage Class Parameters
-
For optional parameters and their meanings for block storage, refer to Create and use volumes with Azure Disk storage in Azure Kubernetes Service (AKS) .
-
For optional parameters and their meanings for file storage, refer to Create and use volumes with Azure Files storage in Azure Kubernetes Service (AKS) .