From d19e03e07b3f8594ea6077e1be29fde4783fd22a Mon Sep 17 00:00:00 2001 From: Mengjiao Liu Date: Fri, 22 Jul 2022 14:30:27 +0800 Subject: [PATCH] [zh-cn] Fix cluster term in volumes.md --- .../zh-cn/docs/concepts/storage/volumes.md | 40 +++++++++---------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/content/zh-cn/docs/concepts/storage/volumes.md b/content/zh-cn/docs/concepts/storage/volumes.md index 5466f54f33..cd5a6da040 100644 --- a/content/zh-cn/docs/concepts/storage/volumes.md +++ b/content/zh-cn/docs/concepts/storage/volumes.md @@ -49,7 +49,7 @@ drivers, but the functionality is somewhat limited. --> ## 背景 {#background} -Docker 也有 [卷(Volume)](https://docs.docker.com/storage/) 的概念,但对它只有少量且松散的管理。 +Docker 也有[卷(Volume)](https://docs.docker.com/storage/) 的概念,但对它只有少量且松散的管理。 Docker 卷是磁盘上或者另外一个容器内的一个目录。 Docker 提供卷驱动程序,但是其功能非常有限。 @@ -133,9 +133,9 @@ EBS volume can be pre-populated with data, and that data can be shared between p {{< feature-state for_k8s_version="v1.17" state="deprecated" >}} -`awsElasticBlockStore` 卷将 Amazon Web服务(AWS)[EBS 卷](https://aws.amazon.com/ebs/) -挂载到你的 Pod 中。与 `emptyDir` 在 Pod 被删除时也被删除不同,EBS 卷的内容在删除 Pod -时会被保留,卷只是被卸载掉了。 +`awsElasticBlockStore` 卷将 Amazon Web 服务(AWS)[EBS 卷](https://aws.amazon.com/ebs/)挂载到你的 +Pod 中。与 `emptyDir` 在 Pod 被删除时也被删除不同,EBS 卷的内容在删除 +Pod 时会被保留,卷只是被卸载掉了。 这意味着 EBS 卷可以预先填充数据,并且该数据可以在 Pod 之间共享。 -确保该区域与你的群集所在的区域相匹配。还要检查卷的大小和 EBS 卷类型都适合你的用途。 +确保该区域与你的集群所在的区域相匹配。还要检查卷的大小和 EBS 卷类型都适合你的用途。 -[区域持久盘](https://cloud.google.com/compute/docs/disks/#repds) -特性允许你创建能在同一区域的两个可用区中使用的持久盘。 +[区域持久盘](https://cloud.google.com/compute/docs/disks/#repds)特性允许你创建能在同一区域的两个可用区中使用的持久盘。 要使用这个特性,必须以持久卷(PersistentVolume)的方式提供卷;直接从 Pod 引用这种卷是不可以的。 @@ -1063,8 +1062,8 @@ Watch out when using this type of volume, because: * 具有相同配置(例如基于同一 PodTemplate 创建)的多个 Pod 会由于节点上文件的不同而在不同节点上有不同的行为。 * 下层主机上创建的文件或目录只能由 root 用户写入。你需要在 - [特权容器](/zh-cn/docs/tasks/configure-pod-container/security-context/) - 中以 root 身份运行进程,或者修改主机上的文件权限以便容器能够写入 `hostPath` 卷。 + [特权容器](/zh-cn/docs/tasks/configure-pod-container/security-context/)中以 + root 身份运行进程,或者修改主机上的文件权限以便容器能够写入 `hostPath` 卷。 Quobyte 支持{{< glossary_tooltip text="容器存储接口(CSI)" term_id="csi" >}}。 推荐使用 CSI 插件以在 Kubernetes 中使用 Quobyte 卷。 -Quobyte 的 GitHub 项目包含以 CSI 形式部署 Quobyte 的 -[说明](https://github.com/quobyte/quobyte-csi#quobyte-csi) -及使用示例。 +Quobyte 的 GitHub 项目包含以 CSI 形式部署 Quobyte +的[说明](https://github.com/quobyte/quobyte-csi#quobyte-csi)及使用示例。 ### rbd @@ -1672,8 +1670,7 @@ must be installed on the cluster and the `CSIMigration` and `CSIMigrationvSphere You can find additional advice on how to migrate in VMware's documentation page [Migrating In-Tree vSphere Volumes to vSphere Container Storage Plug-in](https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/2.0/vmware-vsphere-csp-getting-started/GUID-968D421F-D464-4E22-8127-6CB9FF54423F.html). --> -你可以在 VMware 的文档页面 -[迁移树内 vSphere 卷插件到 vSphere 容器存储插件](https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/2.0/vmware-vsphere-csp-getting-started/GUID-968D421F-D464-4E22-8127-6CB9FF54423F.html) +你可以在 VMware 的文档页面[迁移树内 vSphere 卷插件到 vSphere 容器存储插件](https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/2.0/vmware-vsphere-csp-getting-started/GUID-968D421F-D464-4E22-8127-6CB9FF54423F.html) 中找到有关如何迁移的其他建议。