tencent cloud

Tencent Kubernetes Engine

CFS Instructions

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-12-19 21:41:55

Overview

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:

Preparations

Installing the CFS add-on

Note:
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.

Directions

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.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백