tencent cloud


CFS Instructions

Last updated: 2020-10-19 10:50:26


    Tencent Kubernetes Engine (TKE) allows you to use Cloud File Storage (CFS) by creating persistent volumes (PVs) and persistent volume claims (PVCs) and mounting volumes to workloads. This document describes how to mount a CFS disk to a workload in a cluster by using the following two methods:


    Installing the CFS add-on


    If your cluster has been installed with the CFS-CSI add-on, skip this step.

    1. Log in to the TKE console.
    2. Click Cluster in the left sidebar to go to the Cluster Management page.
    3. Choose the ID of the cluster for which you want to create an add-on and click Add-On Management in the left sidebar on the cluster details page.
    4. On the Add-On Management page, click Create to go to the Create Add-On page.
    5. Select CFS and click Done.


    Dynamically creating a CFS disk

    To dynamically create a CFS disk, complete the following steps:

    1. Create a StorageClass of the CFS type and define a CFS template.
    2. Create a PVC by using the StorageClass and further define the CFS parameters.
    3. Select the created PVC when creating a workload volume and configure the container mount point.

    Using an existing CFS disk

    To use an existing CFS disk, complete the following steps:

    1. Create a PV by using an existing CFS disk.
    2. When creating a PVC, set the same StorageClass and capacity as that for the preceding PV.
    3. When creating a workload, select the preceding PVC.

    For more information on how to use CFS, see README_CFS.md.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support