All Products
Search
Document Center

Container Service for Kubernetes:data_disk

Last Updated:Apr 22, 2024
ParameterTypeDescriptionExample
object

The configuration of node data disks.

categorystring

The type of data disk. Valid values:

  • cloud: basic disk
  • cloud_efficiency: ultra disk
  • cloud_ssd: standard SSD
  • cloud_essd: enhanced SSD

Default value: cloud_efficiency.

cloud_ssd
sizelong

The size of a data disk. Unit: GiB.

Valid values: 40 to 32768.

Default value: 120.

40
encryptedstring

Specifies whether to encrypt a data disk. Valid values:

  • true: encrypts a data disk.
  • false: does not encrypt a data disk.

Default value: false.

true
auto_snapshot_policy_idstring

The ID of an automatic snapshot policy. Automatic backup is performed for a disk based on the specified automatic snapshot policy.

By default, this parameter is empty, which indicates that automatic backup is disabled.

sp-2zej1nogjvovnz4z****
performance_levelstring

The performance level (PL) of a data disk. This parameter takes effect only for enhanced SSDs. You can specify a higher PL if you increase the size of a data disk. For more information, see Enhanced SSDs.

PL1
provisioned_iopslong

The predefined IOPS of a data disk. This parameter is available when the disk type is cloud_auto.

1000
bursting_enabledboolean

Specifies whether to enable the burst feature for a data disk. This parameter is available when the disk type is cloud_auto.

true
auto_formatboolean

Specifies whether to automatically mount the data disk.

true
file_systemstring

The file system that is mounted. This parameter takes effect only when auto_format is set to true. Valid values: ext4 and xfs.

ext4
mount_targetstring

The path to which the data disk is mounted. This parameter takes effect only when auto_format is set to true.

/mnt/path1