All Products
Search
Document Center

Container Service for Kubernetes:FAQ about disk volumes

Last Updated:Aug 28, 2023

This topic provides answers to some frequently asked questions about disk volumes that are used in ACK Serverless clusters.

FAQ about disk creation

Why does the system prompt InvalidDataDiskCatagory.NotSupported when I create a dynamically provisioned PV?

Problem

You failed to create a dynamically provisioned persistent volume (PV) and the system generates a persistent volume claim (PVC) event: InvalidDataDiskCatagory.NotSupported.

Cause

The zone does not support the disk type that is specified in the StorageClass used to create the PV or the disks of the specified disk type is out of stock in the zone.

Solution

Why does the system prompt The specified AZone inventory is insufficient when I create a dynamically provisioned PV?

Problem

You failed to create a dynamically provisioned PV and the system generates a PVC event: The specified AZone inventory is insufficient.

Cause

The system failed to create the disk because Elastic Compute Service (ECS) instances are out of stock.

Solution

Why does the system prompt disk size is not supported when I create a dynamically provisioned PV?

Problem

Your attempt to dynamically provision a PV failed and the system generates a PVC event: disk size is not supported.

Cause

The disk size specified in the PVC is invalid. The minimum disk size limit varies based on the disk type. For example, the size of an ultra disk or SSD must be 20 GiB or larger. For more information about the limits, see Disk categories.

Solution

Modify the disk size specified in the PVC to meet the requirement.

What do I do if I fail to create a PV that is dynamically provisioned by using a StorageClass in WaitForFirstConsumer mode?

Problem

You failed to create a persistent volume (PV) that is dynamically provisioned by using a StorageClass in WaitForFirstConsumer mode. However, you can create a PV that is dynamically provisioned by using a StorageClass in Immediate mode.

Cause

If you want to create a PV that is dynamically provisioned in an ACK Serverless cluster by using a StorageClass in WaitForFirstConsumer mode, you must use extra configurations.

Solution

  1. Update csi-provisioner to the latest version. For more information, see Manage components.

  2. Run the following command to edit the eci-profile ConfigMap:

    kubectl edit configmap eci-profile -n kube-system
  3. Change the value of the WaitForFirstConsumer parameter in the featureGates section from false to true.

    featureGates: MetricsVpcNet=true,WaitForFirstConsumer=true