You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/zh/docs/concepts/storage/volume-snapshots.md
+25-13Lines changed: 25 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ A `VolumeSnapshot` is a request for snapshot of a volume by a user. It is simila
44
44
`VolumeSnapshot` 是用户对于卷的快照的请求。它类似于持久卷声明。
45
45
46
46
<!--
47
-
`VolumeSnapshotClass` allows you to specify different attributes belonging to a `VolumeSnapshot`. These attibutes may differ among snapshots taken from the same volume on the storage system and therefore cannot be expressed by using the same `StorageClass` of a `PersistentVolumeClaim`.
47
+
`VolumeSnapshotClass` allows you to specify different attributes belonging to a `VolumeSnapshot`. These attributes may differ among snapshots taken from the same volume on the storage system and therefore cannot be expressed by using the same `StorageClass` of a `PersistentVolumeClaim`.
@@ -63,14 +63,26 @@ Users need to be aware of the following when using this feature:
63
63
<!--
64
64
* API Objects `VolumeSnapshot`, `VolumeSnapshotContent`, and `VolumeSnapshotClass` are {{< glossary_tooltip term_id="CustomResourceDefinition" text="CRDs" >}}, not part of the core API.
65
65
* `VolumeSnapshot` support is only available for CSI drivers.
66
-
* As part of the deployment process in the beta version of `VolumeSnapshot`, the Kubernetes team provides a snapshot controller to be deployed into the control plane, and a sidecar helper container called csi-snapshotter to be deployed together with the CSI driver. The snapshot controller watches `VolumeSnapshot` and `VolumeSnapshotContent` objects and is responsible for the creation and deletion of `VolumeSnapshotContent` object in dynamic provisioning. The sidecar csi-snapshotter watches `VolumeSnapshotContent` objects and triggers `CreateSnapshot` and `DeleteSnapshot` operations against a CSI endpoint.
66
+
* As part of the deployment process of `VolumeSnapshot`, the Kubernetes team provides a snapshot controller to be deployed into the control plane, and a sidecar helper container called csi-snapshotter to be deployed together with the CSI driver. The snapshot controller watches `VolumeSnapshot` and `VolumeSnapshotContent` objects and is responsible for the creation and deletion of `VolumeSnapshotContent` object. The sidecar csi-snapshotter watches `VolumeSnapshotContent` objects and triggers `CreateSnapshot` and `DeleteSnapshot` operations against a CSI endpoint.
67
+
* There is also a validating webhook server which provides tightened validation on snapshot objects. This should be installed by the Kubernetes distros along with the snapshot controller and CRDs, not CSI drivers. It should be installed in all Kubernetes clusters that has the snapshot feature enabled.
67
68
* CSI drivers may or may not have implemented the volume snapshot functionality. The CSI drivers that have provided support for volume snapshot will likely use the csi-snapshotter. See [CSI Driver documentation](https://kubernetes-csi.github.io/docs/) for details.
68
69
* The CRDs and snapshot controller installations are the responsibility of the Kubernetes distribution.
69
70
-->
70
-
* API 对象 `VolumeSnapshot`,`VolumeSnapshotContent` 和 `VolumeSnapshotClass` 是 {{< glossary_tooltip term_id="CustomResourceDefinition" text="CRDs" >}},不是核心 API 的部分。
71
+
* API 对象 `VolumeSnapshot`,`VolumeSnapshotContent` 和 `VolumeSnapshotClass`
@@ -126,13 +138,14 @@ In the case of pre-provisioned binding, the VolumeSnapshot will remain unbound u
126
138
<!--
127
139
### Persistent Volume Claim as Snapshot Source Protection
128
140
129
-
The purpose of the Persistent Volume Claim Object in Use Protection feature is to ensure that in-use PVC API objects are not removed from the system (as this may result in data loss).
141
+
The purpose of this protection is to ensure that in-use
API objects are not removed from the system while a snapshot is being taken from it (as this may result in data loss).
130
144
131
-
The purpose of this protection is to ensure that in-use PersistentVolumeClaim API objects are not removed from the system while a snapshot is being taken from it (as this may result in data loss).
132
145
-->
133
146
### 快照源的持久性卷声明保护
134
147
135
-
这种保护的目的是确保在从系统中获取快照时,不会将正在使用的 `PersistentVolumeClaim` API 对象从系统中删除(因为这可能会导致数据丢失)。
148
+
这种保护的目的是确保在从系统中获取快照时,不会将正在使用的 {{< glossary_tooltip text="PersistentVolumeClaim" term_id="persistent-volume-claim" >}} API 对象从系统中删除(因为这可能会导致数据丢失)。
136
149
137
150
<!--
138
151
@@ -161,7 +174,7 @@ Each VolumeSnapshot contains a spec and a status.
161
174
每个 `VolumeSnapshot` 包含一个 spec 和一个状态。
162
175
163
176
```yaml
164
-
apiVersion: snapshot.storage.k8s.io/v1beta1
177
+
apiVersion: snapshot.storage.k8s.io/v1
165
178
kind: VolumeSnapshot
166
179
metadata:
167
180
name: new-snapshot-test
@@ -191,7 +204,7 @@ For pre-provisioned snapshots, you need to specify a `volumeSnapshotContentName`
0 commit comments