Platform integration with Google GKE and storage initialization configuration.
The default file storage type PVC has a minimum capacity of 1T. If the capacity is set to less than 1T during creation, it will automatically expand to 1T.
Default file storage has capacity limits. You can request expansion through support tickets.
Default file storage creation and deletion operations take considerable time. If it remains in creating status for a long time, please be patient.
When creating clusters, on the Google Cloud Platform Cluster > Features page under the Other section, check Enable Compute Engine Persistent Disk CSI Driver and Enable Filestore CSI Driver options.
Enable Cloud Filestore API and Google Kubernetes Engine API on Google Cloud Platform. See Access Filestore instances using the Filestore CSI driver.
Adjust regional file storage quotas on Google Cloud Platform. See Resource quotas and limits.
If you have created a GKE cluster, import the GKE cluster.
Go to Platform Management and click Storage Management > Storage Classes in the left navigation.
Click the three dots next to the storage class named standard-rwx or standard-rwo > Update Project.
Note: After importing a GKE cluster, default storage classes are generated. standard-rwx is recommended for file storage, and standard-rwo for block storage. See Default Storage Class Description.
Select the Project Assignment method as needed and click Update to assign standard-rwx or standard-rwo storage classes to projects.
Note: If the default storage classes don't meet requirements, create new storage classes following the above steps and modify parameters as needed. See Available Storage Class Parameters.
| Storage Class Name | Storage Class Type | Description |
|---|---|---|
| (Recommended) standard-rwx | File Storage | Uses Basic HDD Filestore service tier. |
| (Recommended) standard-rwo | Block Storage | Uses balanced persistent disks. |
| premium-rwx | File Storage | Uses Basic SSD Filestore service tier. |
| premium-rwo | Block Storage | SSD persistent disks. |
| enterprise-rwx | File Storage | Uses Enterprise Filestore tier. |
| enterprise-multishare-rwx | File Storage | Uses Enterprise Filestore tier. See Filestore multishares for Google Kubernetes Engine. |
For block storage optional parameters and meanings, see Storage options.
For file storage optional parameters and meanings, see Service tiers.
The following error occurs because Cloud Filestore API is not enabled in the project or lacks appropriate permissions. See Prerequisites to resolve:
The following error occurs due to exceeding storage quotas. See Prerequisites to resolve:
The following error occurs because the node's CSINode lacks configuration for the pd.csi.storage.gke.io driver. You can resolve this by restarting the Compute Engine Persistent Disk CSI Driver.
Note: Updating this plugin will make the cluster unavailable. The update process takes approximately 5-10 minutes.