[zh-cn] Sync some volume glossary

pull/37106/head
Sean Wei 2022-10-02 21:18:00 +08:00
parent 68aa2e12bd
commit 37106cda27
5 changed files with 23 additions and 27 deletions

View File

@ -11,7 +11,6 @@ tags:
- core-object - core-object
- storage - storage
--- ---
<!-- <!--
title: Dynamic Volume Provisioning title: Dynamic Volume Provisioning
id: dynamicvolumeprovisioning id: dynamicvolumeprovisioning
@ -29,7 +28,7 @@ tags:
<!-- <!--
Allows users to request automatic creation of storage {{< glossary_tooltip text="Volumes" term_id="volume" >}}. Allows users to request automatic creation of storage {{< glossary_tooltip text="Volumes" term_id="volume" >}}.
--> -->
允许用户请求自动创建存储 {{< glossary_tooltip text="卷" term_id="volume" >}}。 允许用户请求自动创建存储{{< glossary_tooltip text="卷" term_id="volume" >}}。
<!--more--> <!--more-->

View File

@ -6,7 +6,7 @@ full_link: /zh-cn/docs/concepts/storage/volumes/#flexvolume
short_description: > short_description: >
FlexVolume 是一个已弃用的接口,用于创建树外卷插件。 FlexVolume 是一个已弃用的接口,用于创建树外卷插件。
{{< glossary_tooltip text="容器存储接口CSI" term_id="csi" >}} {{< glossary_tooltip text="容器存储接口CSI" term_id="csi" >}}
比 Flexvolume 更新的接口,它解决了 Flexvolumes 的一些问题。 一个更新的接口,它解决了 FlexVolume 的一些问题。
aka: aka:
tags: tags:
@ -29,24 +29,24 @@ FlexVolume is a deprecated interface for creating out-of-tree volume plugins. Th
--> -->
FlexVolume 是一个已弃用的接口,用于创建树外卷插件。 FlexVolume 是一个已弃用的接口,用于创建树外卷插件。
{{< glossary_tooltip text="容器存储接口CSI" term_id="csi" >}} {{< glossary_tooltip text="容器存储接口CSI" term_id="csi" >}}
比 Flexvolume 更新的接口,它解决了 Flexvolume 的一些问题。 一个更新的接口,它解决了 FlexVolume 的一些问题。
<!--more--> <!--more-->
<!-- <!--
FlexVolumes enable users to write their own drivers and add support for their volumes in Kubernetes. FlexVolume driver binaries and dependencies must be installed on host machines. This requires root access. The Storage SIG suggests implementing a {{< glossary_tooltip text="CSI" term_id="csi" >}} driver if possible since it addresses the limitations with FlexVolumes. FlexVolumes enable users to write their own drivers and add support for their volumes in Kubernetes. FlexVolume driver binaries and dependencies must be installed on host machines. This requires root access. The Storage SIG suggests implementing a {{< glossary_tooltip text="CSI" term_id="csi" >}} driver if possible since it addresses the limitations with FlexVolumes.
--> -->
Flexvolume 允许用户编写自己的驱动程序,并在 Kubernetes 中加入对用户自己的数据卷的支持。 FlexVolume 允许用户编写自己的驱动程序,并在 Kubernetes 中加入对用户自己的数据卷的支持。
FlexVolume 驱动程序的二进制文件和依赖项必须安装在主机上。 FlexVolume 驱动程序的二进制文件和依赖项必须安装在主机上。
这需要 root 权限。如果可能的话SIG Storage 建议实现 这需要 root 权限。如果可能的话SIG Storage 建议实现
{{< glossary_tooltip text="CSI" term_id="csi" >}} 驱动程序, {{< glossary_tooltip text="CSI" term_id="csi" >}} 驱动程序,
因为它解决了 Flexvolumes 的限制。 因为它解决了 FlexVolume 的限制。
<!-- <!--
* [FlexVolume in the Kubernetes documentation](/docs/concepts/storage/volumes/#flexvolume) * [FlexVolume in the Kubernetes documentation](/docs/concepts/storage/volumes/#flexvolume)
* [More information on FlexVolumes](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-storage/flexvolume.md) * [More information on FlexVolumes](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-storage/flexvolume.md)
* [Volume Plugin FAQ for Storage Vendors](https://github.com/kubernetes/community/blob/master/sig-storage/volume-plugin-faq.md) * [Volume Plugin FAQ for Storage Vendors](https://github.com/kubernetes/community/blob/master/sig-storage/volume-plugin-faq.md)
--> -->
* [Kubernetes 文档中的 Flexvolume](/zh-cn/docs/concepts/storage/volumes/#flexvolume) * [Kubernetes 文档中的 FlexVolume](/zh-cn/docs/concepts/storage/volumes/#flexvolume)
* [更多关于 Flexvolumes 的信息](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-storage/flexvolume.md) * [更多关于 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) * [存储供应商的卷插件 FAQ](https://github.com/kubernetes/community/blob/master/sig-storage/volume-plugin-faq.md)

View File

@ -2,7 +2,7 @@
title: 持久卷申领Persistent Volume Claim title: 持久卷申领Persistent Volume Claim
id: persistent-volume-claim id: persistent-volume-claim
date: 2018-04-12 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: > short_description: >
声明在持久卷中定义的存储资源,以便可以将其挂载为容器中的卷。 声明在持久卷中定义的存储资源,以便可以将其挂载为容器中的卷。
@ -16,7 +16,7 @@ tags:
title: Persistent Volume Claim title: Persistent Volume Claim
id: persistent-volume-claim id: persistent-volume-claim
date: 2018-04-12 date: 2018-04-12
full_link: /docs/concepts/storage/persistent-volumes/ full_link: /docs/concepts/storage/persistent-volumes/#persistentvolumeclaims
short_description: > short_description: >
Claims storage resources defined in a PersistentVolume so that it can be mounted as a volume in a container. Claims storage resources defined in a PersistentVolume so that it can be mounted as a volume in a container.
@ -29,11 +29,13 @@ tags:
<!-- <!--
Claims storage resources defined in a {{< glossary_tooltip text="PersistentVolume" term_id="persistent-volume" >}} so that it can be mounted as a volume in a {{< glossary_tooltip text="container" term_id="container" >}}. Claims storage resources defined in a {{< glossary_tooltip text="PersistentVolume" term_id="persistent-volume" >}} so that it can be mounted as a volume in a {{< glossary_tooltip text="container" term_id="container" >}}.
--> -->
申领{{< 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" >}}中的卷。
<!--more--> <!--more-->
<!-- <!--
Specifies the amount of storage, how the storage will be accessed (read-only, read-write and/or exclusive) and how it is reclaimed (retained, recycled or deleted). Details of the storage itself are described in the PersistentVolume object. Specifies the amount of storage, how the storage will be accessed (read-only, read-write and/or exclusive) and how it is reclaimed (retained, recycled or deleted). Details of the storage itself are described in the PersistentVolume object.
--> -->
指定存储的数量,如何访问存储(只读、读写或独占)以及如何回收存储(保留、回收或删除)。存储本身的详细信息在 PersistentVolume 对象中。 指定存储的数量,如何访问存储(只读、读写或独占)以及如何回收存储(保留、回收或删除)。
存储本身的详细信息在 PersistentVolume 对象中。

View File

@ -4,16 +4,15 @@ id: persistent-volume
date: 2018-04-12 date: 2018-04-12
full_link: /zh-cn/docs/concepts/storage/persistent-volumes/ full_link: /zh-cn/docs/concepts/storage/persistent-volumes/
short_description: > short_description: >
持久卷是代表集群中一块存储空间的 API 对象。 它是通用的、可插拔的、并且不受单个 Pod 生命周期约束的持久化资源。 持久卷是代表集群中一块存储空间的 API 对象。
它是通用的、可插拔的、并且不受单个 Pod 生命周期约束的持久化资源。
aka: aka:
tags: tags:
- core-object - core-object
- storage - storage
--- ---
<!-- <!--
---
title: Persistent Volume title: Persistent Volume
id: persistent-volume id: persistent-volume
date: 2018-04-12 date: 2018-04-12
@ -25,14 +24,13 @@ aka:
tags: tags:
- core-object - core-object
- storage - storage
---
--> -->
<!-- <!--
An API object that represents a piece of storage in the cluster. Available as a general, pluggable resource that persists beyond the lifecycle of any individual {{< glossary_tooltip text="Pod" term_id="pod" >}}. An API object that represents a piece of storage in the cluster. Available as a general, pluggable resource that persists beyond the lifecycle of any individual {{< glossary_tooltip text="Pod" term_id="pod" >}}.
--> -->
持久卷是代表集群中一块存储空间的 API 对象。它是通用的、可插拔的、并且不受单个
持久卷是代表集群中一块存储空间的 API 对象。 它是通用的、可插拔的、并且不受单个 {{< glossary_tooltip text="Pod" term_id="pod" >}} 生命周期约束的持久化资源。 {{< glossary_tooltip text="Pod" term_id="pod" >}} 生命周期约束的持久化资源。
<!--more--> <!--more-->
@ -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). 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. For scenarios that require on-demand storage (dynamic provisioning), PersistentVolumeClaims (PVCs) are used instead.
--> -->
持久卷PersistentVolumesPV提供了一个 API该 API 对存储的供应方式细节进行抽象,令其与使用方式相分离。 持久卷PersistentVolumesPV提供了一个 API该 API 对存储的供应方式细节进行抽象,令其与使用方式相分离。
在提前创建存储静态供应的场景中PV 可以直接使用。 在提前创建存储静态供应的场景中PV 可以直接使用。
在按需提供存储(动态供应)的场景中,需要使用 PersistentVolumeClaims (PVCs)。 在按需提供存储(动态供应)的场景中,需要使用 PersistentVolumeClaims (PVC)。

View File

@ -11,9 +11,7 @@ tags:
- core-object - core-object
- fundamental - fundamental
--- ---
<!-- <!--
---
title: Volume title: Volume
id: volume id: volume
date: 2018-04-12 date: 2018-04-12
@ -25,14 +23,14 @@ aka:
tags: tags:
- core-object - core-object
- fundamental - fundamental
---
--> -->
<!-- <!--
A directory containing data, accessible to the {{< glossary_tooltip text="containers" term_id="container" >}} in a {{< glossary_tooltip term_id="pod" >}}. A directory containing data, accessible to the {{< glossary_tooltip text="containers" term_id="container" >}} in a {{< glossary_tooltip 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" >}}访问的数据的目录。
@ -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" >}} 存在期间保持存在状态。 每个 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" >}}重启之后仍保留数据。 并且保证{{< glossary_tooltip text="容器" term_id="container" >}}重启之后仍保留数据。
<!-- <!--
See [storage](/docs/concepts/storage/) for more information. See [storage](/docs/concepts/storage/) for more information.
--> -->
更多信息可参考[storage](/zh-cn/docs/concepts/storage/) 更多信息可参考[存储](/zh-cn/docs/concepts/storage/)