forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com> Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
76 lines
7.6 KiB
HTML
76 lines
7.6 KiB
HTML
<a name="cce_faq_00038"></a><a name="cce_faq_00038"></a>
|
|
|
|
<h1 class="topictitle1">What Are the Differences Among CCE Storage Classes in Terms of Persistent Storage and Multi-node Mounting?</h1>
|
|
<div id="body1519869884926"><p id="cce_faq_00038__p1765294418358">Container storage provides storage for container workloads. It supports multiple storage classes. A pod can use any amount of storage.</p>
|
|
<p id="cce_faq_00038__p6902101711289">Currently, CCE supports local, EVS, SFS, SFS Turbo, and OBS volumes.</p>
|
|
<p id="cce_faq_00038__p41031958162515">The following table lists the differences among these storage classes.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cce_faq_00038__table10361611112317" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Differences among storage classes</caption><thead align="left"><tr id="cce_faq_00038__row437111113234"><th align="left" class="cellrowborder" valign="top" width="16.831683168316832%" id="mcps1.3.4.2.5.1.1"><p id="cce_faq_00038__p43751112316">Storage Class</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.831683168316832%" id="mcps1.3.4.2.5.1.2"><p id="cce_faq_00038__p1437111118234">Persistent Storage</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.782178217821784%" id="mcps1.3.4.2.5.1.3"><p id="cce_faq_00038__p1537181115236">Automatic Migration with Containers</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.554455445544555%" id="mcps1.3.4.2.5.1.4"><p id="cce_faq_00038__p203791113234">Multi-node Mounting</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cce_faq_00038__row1371811192320"><td class="cellrowborder" valign="top" width="16.831683168316832%" headers="mcps1.3.4.2.5.1.1 "><p id="cce_faq_00038__p16371011192312">Local disks</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.831683168316832%" headers="mcps1.3.4.2.5.1.2 "><p id="cce_faq_00038__p123781113232">Supported</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.4.2.5.1.3 "><p id="cce_faq_00038__p637141142311">Not supported</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.4.2.5.1.4 "><p id="cce_faq_00038__p1237101119234">Not supported</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_faq_00038__row23710116235"><td class="cellrowborder" valign="top" width="16.831683168316832%" headers="mcps1.3.4.2.5.1.1 "><p id="cce_faq_00038__p53712110236">EVS</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.831683168316832%" headers="mcps1.3.4.2.5.1.2 "><p id="cce_faq_00038__p113781110238">Supported</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.4.2.5.1.3 "><p id="cce_faq_00038__p1985683519317">Supported</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.4.2.5.1.4 "><p id="cce_faq_00038__p89164919315">Not supported</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_faq_00038__row237191118238"><td class="cellrowborder" valign="top" width="16.831683168316832%" headers="mcps1.3.4.2.5.1.1 "><p id="cce_faq_00038__p2371911192318">OBS</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.831683168316832%" headers="mcps1.3.4.2.5.1.2 "><p id="cce_faq_00038__p1537121102318">Supported</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.4.2.5.1.3 "><p id="cce_faq_00038__p1485693518318">Supported</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.4.2.5.1.4 "><p id="cce_faq_00038__p78321809416">Supported. This type of volumes can be shared among multiple nodes or workloads.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_faq_00038__row178845493577"><td class="cellrowborder" valign="top" width="16.831683168316832%" headers="mcps1.3.4.2.5.1.1 "><p id="cce_faq_00038__p18857498579">SFS</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.831683168316832%" headers="mcps1.3.4.2.5.1.2 "><p id="cce_faq_00038__p088574916570">Supported</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.4.2.5.1.3 "><p id="cce_faq_00038__p14856133515312">Supported</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.4.2.5.1.4 "><p id="cce_faq_00038__p11832170243">Supported. This type of volumes can be shared among multiple nodes or workloads.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cce_faq_00038__row1737711142311"><td class="cellrowborder" valign="top" width="16.831683168316832%" headers="mcps1.3.4.2.5.1.1 "><p id="cce_faq_00038__p4375115239">SFS Turbo</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.831683168316832%" headers="mcps1.3.4.2.5.1.2 "><p id="cce_faq_00038__p133719118237">Supported</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.782178217821784%" headers="mcps1.3.4.2.5.1.3 "><p id="cce_faq_00038__p68561935835">Supported</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.4.2.5.1.4 "><p id="cce_faq_00038__p12832201444">Supported. This type of volumes can be shared among multiple nodes or workloads.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="section" id="cce_faq_00038__section13898172712213"><h4 class="sectiontitle">Selecting a Storage Class</h4><p id="cce_faq_00038__p1663175214335">You can use the following types of storage volumes when creating a workload. You are advised to store workload data on EVS volumes. If you store workload data on a local volume, the data cannot be restored when a fault occurs on the node.</p>
|
|
<ul id="cce_faq_00038__ul1851055313356"><li id="cce_faq_00038__li12510253193514">Local volumes: Mount the file directory of the host where a container is located to a specified container path (corresponding to hostPath in Kubernetes). Alternatively, you can leave the source path empty (corresponding to emptyDir in Kubernetes). If the source path is left empty, a temporary directory of the host will be mounted to the mount point of the container. A specified source path is used when data needs to be persistently stored on the host, while emptyDir is used when temporary storage is needed. A ConfigMap is a type of resource that stores configuration data required by a workload. Its contents are user-defined. A Secret is an object that contains sensitive data such as workload authentication information and keys. Information stored in a Secret is determined by users.</li><li id="cce_faq_00038__li1334111811917">EVS volumes: Mount an EVS volume to a container path. When the container is migrated, the mounted EVS volume is migrated together. This storage class is applicable when data needs to be stored permanently.</li><li id="cce_faq_00038__li1426701217392">SFS volumes: Create SFS volumes and mount them to a container path. The file system volumes created by the underlying SFS service can also be used. SFS volumes are applicable to persistent storage for frequent read/write in multiple workload scenarios, including media processing, content management, big data analysis, and workload analysis.</li><li id="cce_faq_00038__li15781194155912">OBS volumes: Create OBS volumes and mount them to a container path. OBS volumes are applicable to scenarios such as cloud workload, data analysis, content analysis, and hotspot objects.</li><li id="cce_faq_00038__li14636131161415">SFS Turbo volumes: Create SFS Turbo volumes and mount them to a container path. SFS Turbo volumes are fast, on-demand, and scalable, which makes them suitable for DevOps, containerized microservices, and enterprise office applications. </li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="cce_faq_00037.html">Storage</a></div>
|
|
</div>
|
|
</div>
|
|
|