Google GKE Cluster Storage Initialization Configuration

Platform integration with Google GKE and storage initialization configuration.

TOC

Constraints and Limitations

  • 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.

Prerequisites

Configuration Steps

  1. Go to Platform Management and click Storage Management > Storage Classes in the left navigation.

  2. 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.

  3. 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.

Default Storage Class Description

Storage Class NameStorage Class TypeDescription
(Recommended) standard-rwxFile StorageUses Basic HDD Filestore service tier.
(Recommended) standard-rwoBlock StorageUses balanced persistent disks.
premium-rwxFile StorageUses Basic SSD Filestore service tier.
premium-rwoBlock StorageSSD persistent disks.
enterprise-rwxFile StorageUses Enterprise Filestore tier.
enterprise-multishare-rwxFile StorageUses Enterprise Filestore tier. See Filestore multishares for Google Kubernetes Engine.

Available Storage Class Parameters

  • For block storage optional parameters and meanings, see Storage options.

  • For file storage optional parameters and meanings, see Service tiers.

Common Issues

File Storage Type Storage Class PVC Creation Failure

  • The following error occurs because Cloud Filestore API is not enabled in the project or lacks appropriate permissions. See Prerequisites to resolve:

    failed to provision volume with StorageClass "standard-rwx": rpc error: code = PermissionDenied desc = googlespi: Error 403: Cloud Filestore API has not been used in project alauda-proj-1234 before or it is disabled.
    ...
    resion: SERVICE_DISABLED
  • The following error occurs due to exceeding storage quotas. See Prerequisites to resolve:

    failed to provision volume with StorageClass "standard-rwx": rpc error: code = ResourceExhausted desc = googlespi: Error 429: Quora limit 'StandardStorageGbPerRegion' has been exceeded. Limit 2048 in region asia-east1.
     rateLimitExceeded

Block Storage Type Storage Class PVC Cannot Bind Properly

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.

Warning ProvisioningFailed 18m (x14 over 39m) pd.csi.storage.gke.io_gke-5cb9bddae4d1430eb8ad-01f4-2084-vm_4b4e70bd-e2db-4779-9102-fee83a657ced failed to provision volume with StorageClass "standard": error generating accessibility requirements: no available topology found
Normal ExternalProvisioning 4m35s (x143 over 39m) persistentvolume-controller waiting for a volume to be created, either by external provisioner "pd.csi.storage.gke.io" or manually created by system administrator
Normal Provisioning 3m19s (x18 over 39m) pd.csi.storage.gke.io_gke-5cb9bddae4d1430eb8ad-01f4-2084-vm_4b4e70bd-e2db-4779-9102-fee83a657ced External provisioner is provisioning volume for claim "acp-gke-test/standard"