tencent cloud

masukan

CBS Instructions

Terakhir diperbarui:2024-12-19 21:41:55

    Overview

    Tencent Cloud Tencent Kubernetes Engine (TKE) allows you to use Cloud Block Storage (CBS) disks by creating PersistentVolumes (PVs) and PersistentVolumeClaims (PVCs) and mounting volumes to workloads. This document describes how to mount a CBS disk to a workload in a cluster by using the following two methods:
    Note:
    When CBS is used through PV and PVC, a cloud disk only supports the creation of one PV, and it can only be mounted by one cluster node at any time.

    Directions

    Dynamically creating a CBS disk

    To dynamically create a CBS disk, you generally need to complete the following steps:
    1. Create a StorageClass of the CBS type and define a CBS template.
    Note:
    TKE provides a default StorageClass named cbs, which is configured with a Premium Cloud Storage cloud disk in a randomly selected availability zone in pay-as-you-go mode.
    You can customize a StorageClass as required.
    2. Create a PVC by using the StorageClass and further define the CBS parameters.
    3. Select the created PVC when creating a workload volume and set the container mount point. For more information, please see Managing CBS templates by using a StorageClass.

    Using an existing CBS disk

    You can use an existing CBS disk as follows:
    1. Use an existing CBS disk to create a PV.
    2. When creating a PVC, use the same StorageClass and capacity as that for the existing PV.
    3. When creating a workload, select the PVC. For more information, please see Managing CBS by using PVs and PVCs.
    Hubungi Kami

    Hubungi tim penjualan atau penasihat bisnis kami untuk membantu bisnis Anda.

    Dukungan Teknis

    Buka tiket jika Anda mencari bantuan lebih lanjut. Tiket kami tersedia 7x24.

    Dukungan Telepon 7x24