From f490705eddafe5ceedfb4eb6308a3b690a64f769 Mon Sep 17 00:00:00 2001 From: my-git9 <76980726+my-git9@users.noreply.github.com> Date: Sat, 5 Mar 2022 20:14:29 +0800 Subject: [PATCH] Update volume-snapshot-classes.md Sync documentation about Volume Snapshot Classes --- .../docs/concepts/storage/volume-snapshot-classes.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/content/zh/docs/concepts/storage/volume-snapshot-classes.md b/content/zh/docs/concepts/storage/volume-snapshot-classes.md index 55da18425f..8739de2d04 100644 --- a/content/zh/docs/concepts/storage/volume-snapshot-classes.md +++ b/content/zh/docs/concepts/storage/volume-snapshot-classes.md @@ -41,6 +41,11 @@ The name of a VolumeSnapshotClass object is significant, and is how users can request a particular class. Administrators set the name and other parameters of a class when first creating VolumeSnapshotClass objects, and the objects cannot be updated once they are created. + +{{< note >}} +Installation of the CRDs is the responsibility of the Kubernetes distribution. Without the required CRDs present, the creation of a VolumeSnapshotClass fails. +{{< /note >}} + --> ## VolumeSnapshotClass 资源 {#the-volumesnapshortclass-resource} @@ -51,6 +56,10 @@ VolumeSnapshotClass 对象的名称很重要,是用户可以请求特定类的 管理员在首次创建 VolumeSnapshotClass 对象时设置类的名称和其他参数, 对象一旦创建就无法更新。 +{{< note >}} +CRD 的安装是 Kubernetes 发行版的责任。 如果不存在所需的 CRD,则 VolumeSnapshotClass 的创建将失败。 +{{< /note >}} + ```yaml apiVersion: snapshot.storage.k8s.io/v1 kind: VolumeSnapshotClass @@ -119,4 +128,3 @@ the volume snapshot class. Different parameters may be accepted depending on the ## 参数 {#parameters} 卷快照类具有描述属于该卷快照类的卷快照的参数,可根据 `driver` 接受不同的参数。 -