Skip to content

Commit 796f55d

Browse files
authored
”不要“改为”要“
原文为 Do include PersistentVolumeClaim objects in your bundle of config (alongside Deployments, ConfigMaps, etc).
1 parent 4789cb4 commit 796f55d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

concepts/persistent-volume.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ spec:
485485

486486
如果您正在编写在多种群集上运行并需要持久存储的配置模板或示例,我们建议您使用以下模式:
487487

488-
- 不要在您的在配置组合中包含 `PersistentVolumeClaim` 对象(与 Deployment、ConfigMap等一起)。
488+
- 要在您的在配置组合中包含 `PersistentVolumeClaim` 对象(与 Deployment、ConfigMap等一起)。
489489
- 不要在配置中包含 `PersistentVolume` 对象,因为用户实例化配置可能没有创建 `PersistentVolume` 的权限。
490490
- 给用户在实例化模板时提供存储类名称的选项。
491491
- 如果用户提供存储类名称,则将该值放入 `persistentVolumeClaim.storageClassName` 字段中。如果集群具有由管理员启用的 StorageClass,这将导致 PVC 匹配正确的存储类别。

0 commit comments

Comments
 (0)