Update docs: PVs and storage classes

Signed-off-by: adakisme <serenashe@yunify.com>
This commit is contained in:
adakisme 2021-07-23 11:40:12 +08:00
parent 582f5f78f7
commit 7246ec78a7
19 changed files with 13 additions and 24 deletions

View File

@ -32,21 +32,17 @@ You need an account granted a role including the authorization of **Cluster Mana
## Manage Storage Classes
1. Click **Platform** in the top-left corner and select **Cluster Management**.
1. Click **Platform** in the upper-left corner and select **Cluster Management**.
![clusters-management-select](/images/docs/cluster-administration/persistent-volume-and-storage-class/clusters-management-select.jpg)
2. If you have enabled the [multi-cluster feature](../../multicluster-management/) with member clusters imported, you can select a specific cluster. If you have not enabled the feature, refer to the next step directly.
3. On the **Cluster Management** page, navigate to **Storage Classes** under **Storage**, where you can create, update and delete a storage class.
3. On the **Cluster Management** page, go to **Storage Classes** under **Storage**, where you can create, update and delete a storage class.
![storage-class](/images/docs/cluster-administration/persistent-volume-and-storage-class/storage-class.jpg)
4. To create a storage class, click **Create** and enter the basic information in the pop-up window. When you finish, click **Next**.
4. To create a storage class, click **Create** and enter the basic information in the displayed dialog box. When you finish, click **Next**.
![create-storage-class-basic-info](/images/docs/cluster-administration/persistent-volume-and-storage-class/create-storage-class-basic-info.png)
5. In KubeSphere, you can create storage classes for `QingCloud-CSI`, `Glusterfs` and `Ceph RBD` directly. Alternatively, you can also create customized storage classes for other storage systems based on your needs. Select a type and click **Next**.
5. In KubeSphere, you can create storage classes for `QingCloud-CSI`, `Glusterfs` and `Ceph RBD`. Alternatively, you can also create customized storage classes for other storage systems based on your needs. Select a type and click **Next**.
![create-storage-class-storage-system](/images/docs/cluster-administration/persistent-volume-and-storage-class/create-storage-class-storage-system.png)
@ -54,7 +50,8 @@ You need an account granted a role including the authorization of **Cluster Mana
### Common settings
Some settings are commonly used and shared among storage classes. You can find them as dashboard properties on the console, which are also indicated by fields or annotations in the StorageClass manifest. You can see the manifest file in YAML format by enabling **Edit Mode** in the top-right corner.
Some settings are commonly used and shared among storage classes. You can find them as dashboard properties on the console, which are also indicated by fields or annotations in the StorageClass manifest. You can see the manifest file in YAML format by enabling **Edit Mode** in the upper-right corner.
Here are property descriptions of some commonly used fields in KubeSphere.
| Property | Description |
@ -77,18 +74,18 @@ QingCloud CSI is a CSI plugin on Kubernetes for the storage service of QingCloud
#### Settings
![storage-volume-qingcloud](/images/docs/cluster-administration/persistent-volume-and-storage-class/storage-volume-qingcloud.jpg)
![storage-volume-qingcloud](/images/docs/cluster-administration/persistent-volume-and-storage-class/storage-volume-qingcloud.png)
| Property | Description |
| :---- | :---- |
| type | On the QingCloud platform, 0 represents high performance volumes. 2 represents high capacity volumes. 3 represents super high performance volumes. 5 represents Enterprise Server SAN. 6 represents NeonSan HDD. 100 represents standard volumes. 200 represents enterprise SSD. |
| type | On the QingCloud platform, 0 represents high performance volumes. 2 represents high capacity volumes. 3 represents super high performance volumes. 5 represents Enterprise Server SAN. 100 represents standard volumes. 200 represents enterprise SSD. |
| maxSize | The volume size upper limit. |
| stepSize | The volume size increment. |
| minSize | The volume size lower limit. |
| fsType | Filesystem type of the volume: ext3, ext4 (default), xfs. |
| tags | The ID of QingCloud Tag resource, split by commas. |
More storage class parameters can be seen in [QingCloud-CSI user guide](https://github.com/yunify/qingcloud-csi/blob/master/docs/user-guide.md#set-storage-class).
For more information about storage class parameters, see [QingCloud-CSI user guide](https://github.com/yunify/qingcloud-csi/blob/master/docs/user-guide.md#set-storage-class).
### Glusterfs
@ -152,9 +149,7 @@ You can create custom storage classes for your storage systems if they are not d
#### NFS Introduction
NFS (Net File System) is widely used on Kubernetes with the external-provisioner volume plugin
[nfs-client](https://github.com/kubernetes-retired/external-storage/tree/master/nfs-client). You can create the storage class of nfs-client by clicking **Custom** in the image below.
![Create Custom Storage Class](/images/storage/create-storage-class-storage-system-custom.png)
[nfs-client](https://github.com/kubernetes-retired/external-storage/tree/master/nfs-client). You can create the storage class of nfs-client by clicking **Custom**.
{{< notice note >}}
@ -169,7 +164,7 @@ It is not recommended that you use NFS storage for production (especially on Kub
#### Common Settings
![custom-storage-class](/images/docs/cluster-administration/persistent-volume-and-storage-class/custom-storage-class.jpg)
![custom-storage-class](/images/docs/cluster-administration/persistent-volume-and-storage-class/custom-storage-class.png)
| Property | Description |
| :---- | :---- |

View File

@ -34,8 +34,6 @@ KubeSphere 支持基于存储类型的[动态卷供应](https://kubernetes.io/zh
1. 点击左上角的**平台管理**,然后选择**集群管理**。
![选择集群管理](/images/docs/zh-cn/cluster-administration/persistent-volumes-and-storage-classes/cluster-management-select.PNG)
2. 如果您启用了[多集群功能](../../multicluster-management/)并导入了 Member 集群,可以选择一个特定集群。如果您未启用该功能,请直接参考下一步。
3. 在**集群管理**页面,您可以在**存储管理**下的**存储类型**中创建、更新和删除存储类型。
@ -44,8 +42,6 @@ KubeSphere 支持基于存储类型的[动态卷供应](https://kubernetes.io/zh
4. 要创建一个存储类型,请点击**创建**,在弹出窗口中输入基本信息。完成后,点击**下一步**。
![存储类型基本信息](/images/docs/zh-cn/cluster-administration/persistent-volumes-and-storage-classes/create-storage-class-basic-info.PNG)
5. 在 KubeSphere 中,您可以直接为 `QingCloud-CSI`、`Glusterfs` 和 `Ceph RBD` 创建存储类型。或者,您也可以根据需求为其他存储系统创建自定义存储类型。请选择一个类型,然后点击**下一步**。
![存储系统](/images/docs/zh-cn/cluster-administration/persistent-volumes-and-storage-classes/create-storage-class-storage-system.PNG)
@ -80,7 +76,7 @@ QingCloud CSI 是 Kubernetes 上的 CSI 插件供青云QingCloud 存储服务
| 属性 | 描述信息 |
| :---- | :---- |
| type | 在青云QingCloud 平台上0 代表性能型硬盘2 代表容量型硬盘3 代表超高性能型硬盘5 代表企业级服务器 SAN6 代表 NeonSAN HDD100 代表基础型硬盘200 代表企业级 SSD。 |
| type | 在青云QingCloud 平台上0 代表性能型硬盘2 代表容量型硬盘3 代表超高性能型硬盘5 代表企业级分布式 SAN (NeonSAN) 型硬盘100 代表基础型硬盘200 代表企业型硬盘。 |
| maxSize | 存储卷容量上限。 |
| stepSize | 存储卷容量增量。 |
| minSize | 存储卷容量下限。 |
@ -148,9 +144,7 @@ Ceph RBD 也是 Kubernetes 上的一种树内存储插件,即 Kubernetes 中
#### NFS 介绍
NFS网络文件系统广泛用于带有 [NFS-Client](https://github.com/kubernetes-retired/external-storage/tree/master/nfs-client)External-Provisioner 存储卷插件)的 Kubernetes。您可以点击**自定义**来创建 NFS-Client 的存储类型,如下图所示。
![创建自定义存储类型](/images/docs/zh-cn/cluster-administration/persistent-volumes-and-storage-classes/create-custom-storage-class.PNG)
NFS网络文件系统广泛用于带有 [NFS-Client](https://github.com/kubernetes-retired/external-storage/tree/master/nfs-client)External-Provisioner 存储卷插件)的 Kubernetes。您可以点击**自定义**来创建 NFS-Client 的存储类型。
{{< notice note >}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 558 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 315 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 510 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 539 KiB