Update volume-snapshots.md

This commit is contained in:
jiajie 2020-12-18 08:36:01 +08:00 committed by GitHub
parent 503022930c
commit e3e199f416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 7 deletions

View File

@ -70,17 +70,17 @@ Users need to be aware of the following when using this feature:
-->
* API 对象 `VolumeSnapshot``VolumeSnapshotContent` 和 `VolumeSnapshotClass`
是 {{< glossary_tooltip term_id="CustomResourceDefinition" text="CRDs" >}}
是核心 API 的部分
属于核心 API
* `VolumeSnapshot` 支持仅可用于 CSI 驱动。
* 作为 `VolumeSnapshot` 部署过程的一部分Kubernetes 团队提供了一个部署于控制平面的快照控制器,
并且提供了一个叫做 `csi-snapshotter` sidecar 帮助容器,它和 CSI 驱动程序部署在一起
并且提供了一个叫做 `csi-snapshotter`边车Sidecar辅助容器和 CSI 驱动程序一起部署
快照控制器监视 `VolumeSnapshot``VolumeSnapshotContent` 对象,
并且负责动态供应中的创建和删除 `VolumeSnapshotContent` 对象。
sidecar csi-snapshotter 监视 `VolumeSnapshotContent` 对象,
并且负责创建和删除 `VolumeSnapshotContent` 对象。
边车 csi-snapshotter 监视 `VolumeSnapshotContent` 对象,
并且触发针对 CSI 端点的 `CreateSnapshot``DeleteSnapshot` 的操作。
* 还有一个验证 webhook服务器可以对快照对象进行更严格的验证。
* 还有一个验证性质的 Webhook 服务器,可以对快照对象进行更严格的验证。
Kubernetes 发行版应将其与快照控制器和 CRD而非 CSI 驱动程序)一起安装。
应该安装在所有启用了快照功能的 Kubernetes 集群中。
此服务器应该安装在所有启用了快照功能的 Kubernetes 集群中。
* CSI 驱动可能实现也可能没有实现卷快照功能。CSI 驱动可能会使用 csi-snapshotter
来提供对卷快照的支持。详见 [CSI 驱动程序文档](https://kubernetes-csi.github.io/docs/)
* Kubernetes 负责 CRDs 和快照控制器的安装。
@ -145,7 +145,9 @@ API objects are not removed from the system while a snapshot is being taken from
-->
### 快照源的持久性卷声明保护
这种保护的目的是确保在从系统中获取快照时,不会将正在使用的 {{< glossary_tooltip text="PersistentVolumeClaim" term_id="persistent-volume-claim" >}} API 对象从系统中删除(因为这可能会导致数据丢失)。
这种保护的目的是确保在从系统中获取快照时,不会将正在使用的
{{< glossary_tooltip text="PersistentVolumeClaim" term_id="persistent-volume-claim" >}}
API 对象从系统中删除(因为这可能会导致数据丢失)。
<!--