Skip to content

Commit 9096abf

Browse files
committed
[zh-cn]sync csi-driver-v1
Signed-off-by: xin.li <[email protected]>
1 parent 127a86e commit 9096abf

File tree

1 file changed

+23
-0
lines changed
  • content/zh-cn/docs/reference/kubernetes-api/config-and-storage-resources

1 file changed

+23
-0
lines changed

content/zh-cn/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,29 @@ CSIDriverSpec 是 CSIDriver 的规约。
108108
默认为 ReadWriteOnceWithFSType,这会检查每个卷,以决定 Kubernetes 是否应修改卷的所有权和权限。
109109
采用默认策略时,如果定义了 fstype 且卷的访问模式包含 ReadWriteOnce,将仅应用定义的 fsGroup。
110110

111+
<!--
112+
- **nodeAllocatableUpdatePeriodSeconds** (int64)
113+
114+
nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.
115+
-->
116+
- **nodeAllocatableUpdatePeriodSeconds** (int64)
117+
118+
nodeAllocatableUpdatePeriodSeconds 指定了 CSINode
119+
针对此驱动对可分配容量作定期更新的时间间隔。
120+
设置后,定期更新和由容量相关故障触发的更新均会启用。
121+
如果没有设置,则不会发生更新(无论是定期更新还是检测到与容量相关的故障),
122+
并且 `allocatable.count` 保持为固定值。此字段允许的最小值为 10 秒。
123+
124+
<!--
125+
This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.
126+
127+
This field is mutable.
128+
-->
129+
130+
这是一个 Alpha 级别特性,需要启用特性门控 MutableCSINodeAllocatableCount。
131+
132+
此字段是可变更的。
133+
111134
<!--
112135
- **podInfoOnMount** (boolean)
113136

0 commit comments

Comments
 (0)