From 37106cda27d28d21703baedb016d2d2263487793 Mon Sep 17 00:00:00 2001 From: Sean Wei Date: Sun, 2 Oct 2022 21:18:00 +0800 Subject: [PATCH] [zh-cn] Sync some volume glossary --- .../glossary/dynamic-volume-provisioning.md | 3 +-- .../zh-cn/docs/reference/glossary/flexvolume.md | 12 ++++++------ .../reference/glossary/persistent-volume-claim.md | 10 ++++++---- .../docs/reference/glossary/persistent-volume.md | 14 +++++--------- content/zh-cn/docs/reference/glossary/volume.md | 11 +++++------ 5 files changed, 23 insertions(+), 27 deletions(-) diff --git a/content/zh-cn/docs/reference/glossary/dynamic-volume-provisioning.md b/content/zh-cn/docs/reference/glossary/dynamic-volume-provisioning.md index f10dbcf357..1f98567f83 100644 --- a/content/zh-cn/docs/reference/glossary/dynamic-volume-provisioning.md +++ b/content/zh-cn/docs/reference/glossary/dynamic-volume-provisioning.md @@ -11,7 +11,6 @@ tags: - core-object - storage --- - -允许用户请求自动创建存储 {{< glossary_tooltip text="卷" term_id="volume" >}}。 +允许用户请求自动创建存储{{< glossary_tooltip text="卷" term_id="volume" >}}。 diff --git a/content/zh-cn/docs/reference/glossary/flexvolume.md b/content/zh-cn/docs/reference/glossary/flexvolume.md index 85f67f3e80..28d0122584 100644 --- a/content/zh-cn/docs/reference/glossary/flexvolume.md +++ b/content/zh-cn/docs/reference/glossary/flexvolume.md @@ -6,7 +6,7 @@ full_link: /zh-cn/docs/concepts/storage/volumes/#flexvolume short_description: > FlexVolume 是一个已弃用的接口,用于创建树外卷插件。 {{< glossary_tooltip text="容器存储接口(CSI)" term_id="csi" >}} - 是比 Flexvolume 更新的接口,它解决了 Flexvolumes 的一些问题。 + 是一个更新的接口,它解决了 FlexVolume 的一些问题。 aka: tags: @@ -29,24 +29,24 @@ FlexVolume is a deprecated interface for creating out-of-tree volume plugins. Th --> FlexVolume 是一个已弃用的接口,用于创建树外卷插件。 {{< glossary_tooltip text="容器存储接口(CSI)" term_id="csi" >}} -是比 Flexvolume 更新的接口,它解决了 Flexvolume 的一些问题。 +是一个更新的接口,它解决了 FlexVolume 的一些问题。 -Flexvolume 允许用户编写自己的驱动程序,并在 Kubernetes 中加入对用户自己的数据卷的支持。 +FlexVolume 允许用户编写自己的驱动程序,并在 Kubernetes 中加入对用户自己的数据卷的支持。 FlexVolume 驱动程序的二进制文件和依赖项必须安装在主机上。 这需要 root 权限。如果可能的话,SIG Storage 建议实现 {{< glossary_tooltip text="CSI" term_id="csi" >}} 驱动程序, -因为它解决了 Flexvolumes 的限制。 +因为它解决了 FlexVolume 的限制。 -* [Kubernetes 文档中的 Flexvolume](/zh-cn/docs/concepts/storage/volumes/#flexvolume) -* [更多关于 Flexvolumes 的信息](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-storage/flexvolume.md) +* [Kubernetes 文档中的 FlexVolume](/zh-cn/docs/concepts/storage/volumes/#flexvolume) +* [更多关于 FlexVolume 的信息](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-storage/flexvolume.md) * [存储供应商的卷插件 FAQ](https://github.com/kubernetes/community/blob/master/sig-storage/volume-plugin-faq.md) diff --git a/content/zh-cn/docs/reference/glossary/persistent-volume-claim.md b/content/zh-cn/docs/reference/glossary/persistent-volume-claim.md index 4eb2e49e2b..b60320b416 100644 --- a/content/zh-cn/docs/reference/glossary/persistent-volume-claim.md +++ b/content/zh-cn/docs/reference/glossary/persistent-volume-claim.md @@ -2,7 +2,7 @@ title: 持久卷申领(Persistent Volume Claim) id: persistent-volume-claim date: 2018-04-12 -full_link: /zh-cn/docs/concepts/storage/persistent-volumes/ +full_link: /zh-cn/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims short_description: > 声明在持久卷中定义的存储资源,以便可以将其挂载为容器中的卷。 @@ -16,7 +16,7 @@ tags: title: Persistent Volume Claim id: persistent-volume-claim date: 2018-04-12 -full_link: /docs/concepts/storage/persistent-volumes/ +full_link: /docs/concepts/storage/persistent-volumes/#persistentvolumeclaims short_description: > Claims storage resources defined in a PersistentVolume so that it can be mounted as a volume in a container. @@ -29,11 +29,13 @@ tags: -申领{{< glossary_tooltip text="持久卷(PersistentVolume)" term_id="persistent-volume" >}}中定义的存储资源,以便可以将其挂载为{{< glossary_tooltip text="容器(container)" term_id="container" >}}中的卷。 +申领{{< glossary_tooltip text="持久卷(PersistentVolume)" term_id="persistent-volume" >}} +中定义的存储资源,以便可以将其挂载为{{< glossary_tooltip text="容器(container)" term_id="container" >}}中的卷。 -指定存储的数量,如何访问存储(只读、读写或独占)以及如何回收存储(保留、回收或删除)。存储本身的详细信息在 PersistentVolume 对象中。 +指定存储的数量,如何访问存储(只读、读写或独占)以及如何回收存储(保留、回收或删除)。 +存储本身的详细信息在 PersistentVolume 对象中。 diff --git a/content/zh-cn/docs/reference/glossary/persistent-volume.md b/content/zh-cn/docs/reference/glossary/persistent-volume.md index 8bcd24d6a8..7b637c3c13 100644 --- a/content/zh-cn/docs/reference/glossary/persistent-volume.md +++ b/content/zh-cn/docs/reference/glossary/persistent-volume.md @@ -4,16 +4,15 @@ id: persistent-volume date: 2018-04-12 full_link: /zh-cn/docs/concepts/storage/persistent-volumes/ short_description: > - 持久卷是代表集群中一块存储空间的 API 对象。 它是通用的、可插拔的、并且不受单个 Pod 生命周期约束的持久化资源。 + 持久卷是代表集群中一块存储空间的 API 对象。 + 它是通用的、可插拔的、并且不受单个 Pod 生命周期约束的持久化资源。 aka: tags: - core-object - storage --- - - -持久卷是代表集群中一块存储空间的 API 对象。 它是通用的、可插拔的、并且不受单个 {{< glossary_tooltip text="Pod" term_id="pod" >}} 生命周期约束的持久化资源。 +持久卷是代表集群中一块存储空间的 API 对象。它是通用的、可插拔的、并且不受单个 +{{< glossary_tooltip text="Pod" term_id="pod" >}} 生命周期约束的持久化资源。 @@ -41,8 +39,6 @@ PersistentVolumes (PVs) provide an API that abstracts details of how storage is PVs are used directly in scenarios where storage can be created ahead of time (static provisioning). For scenarios that require on-demand storage (dynamic provisioning), PersistentVolumeClaims (PVCs) are used instead. --> - 持久卷(PersistentVolumes,PV)提供了一个 API,该 API 对存储的供应方式细节进行抽象,令其与使用方式相分离。 在提前创建存储(静态供应)的场景中,PV 可以直接使用。 -在按需提供存储(动态供应)的场景中,需要使用 PersistentVolumeClaims (PVCs)。 - +在按需提供存储(动态供应)的场景中,需要使用 PersistentVolumeClaims (PVC)。 diff --git a/content/zh-cn/docs/reference/glossary/volume.md b/content/zh-cn/docs/reference/glossary/volume.md index 9159e275ca..8e314ca979 100644 --- a/content/zh-cn/docs/reference/glossary/volume.md +++ b/content/zh-cn/docs/reference/glossary/volume.md @@ -11,9 +11,7 @@ tags: - core-object - fundamental --- - -包含可被 {{< glossary_tooltip text="Pod" term_id="pod" >}} 中{{< glossary_tooltip text="容器" term_id="container" >}}访问的数据的目录。 +包含可被 {{< glossary_tooltip text="Pod" term_id="pod" >}} +中{{< glossary_tooltip text="容器" term_id="container" >}}访问的数据的目录。 @@ -41,10 +39,11 @@ A Kubernetes volume lives as long as the Pod that encloses it. Consequently, a v --> 每个 Kubernetes 卷在所处的 {{< glossary_tooltip text="Pod" term_id="pod" >}} 存在期间保持存在状态。 -因此,卷的生命期会超出 {{< glossary_tooltip text="Pod" term_id="pod" >}} 中运行的{{< glossary_tooltip text="容器" term_id="container" >}}, +因此,卷的生命期会超出 {{< glossary_tooltip text="Pod" term_id="pod" >}} +中运行的{{< glossary_tooltip text="容器" term_id="container" >}}, 并且保证{{< glossary_tooltip text="容器" term_id="container" >}}重启之后仍保留数据。 -更多信息可参考[storage](/zh-cn/docs/concepts/storage/) \ No newline at end of file +更多信息可参考[存储](/zh-cn/docs/concepts/storage/)