Skip to content

Commit aef3a53

Browse files
authored
Merge pull request #43759 from my-git9/patch-28065
[zh-cn]sync persistent-volume-v1 mutating-webhook-configuration-v1 validating-webhook-configuration-v1
2 parents 8e51e03 + 7e1efa2 commit aef3a53

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,6 +1766,25 @@ PersistentVolumeStatus 是持久卷的当前状态。
17661766

17671767
<hr>
17681768

1769+
<!--
1770+
- **lastPhaseTransitionTime** (Time)
1771+
1772+
lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically
1773+
resets to current time everytime a volume phase transitions. This is an alpha field and requires
1774+
enabling PersistentVolumeLastPhaseTransitionTime feature.
1775+
1776+
<a name="Time"></a>
1777+
*Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.
1778+
Wrappers are provided for many of the factory methods that the time package offers.*
1779+
-->
1780+
- **lastPhaseTransitionTime** (Time)
1781+
1782+
lastPhaseTransitionTime 是从一个阶段转换到另一个阶段的时间,每次卷阶段转换时都会自动重置为当前时间。
1783+
这是一个 Alpha 字段,需要启用 PersistentVolumeLastPhaseTransitionTime 特性。
1784+
1785+
<a name="Time"></a>
1786+
**Time 是 time.Time 的包装器,支持正确编组为 YAML 和 JSON,它为 time 包提供的许多工厂方法提供了包装器。**
1787+
17691788
<!--
17701789
- **message** (string)
17711790
message is a human-readable message indicating details about why the volume is in this state.

content/zh-cn/docs/reference/kubernetes-api/extend-resources/mutating-webhook-configuration-v1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,13 @@ MutatingWebhookConfiguration 描述准入 Webhook 的配置,该 Webhook 可接
272272
- 如果 failurePolicy=Ignore,忽略错误并跳过该 webhook。
273273

274274
<!--
275-
This is an alpha feature and managed by the AdmissionWebhookMatchConditions feature gate.
275+
This is an beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
276276
277277
<a name="MatchCondition"></a>
278278
*MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.*
279279
-->
280280

281-
这是一个 Alpha 功能特性,由 AdmissionWebhookMatchConditions 特性门控管理。
281+
这是一个 Beta 功能特性,由 AdmissionWebhookMatchConditions 特性门控管理。
282282

283283
<a name="MatchCondition"></a>
284284
**MatchCondition 表示将请求发送到 Webhook 之前必须满足的条件。**

content/zh-cn/docs/reference/kubernetes-api/extend-resources/validating-webhook-configuration-v1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,12 @@ ValidatingWebhookConfiguration 描述准入 Webhook 的配置,该 Webhook 可
266266
- 如果 failurePolicy=Ignore,忽略错误并跳过该 webhook。
267267

268268
<!--
269-
This is an alpha feature and managed by the AdmissionWebhookMatchConditions feature gate.
269+
This is an beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
270270
271271
<a name="MatchCondition"></a>
272272
*MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.*
273273
-->
274-
这是一个 Alpha 功能特性,由 AdmissionWebhookMatchConditions 特性门控管理。
274+
这是一个 Beta 功能特性,由 AdmissionWebhookMatchConditions 特性门控管理。
275275

276276
<a name="MatchCondition"></a>
277277
**MatchCondition 表示将请求发送到 Webhook 之前必须满足的条件。**

0 commit comments

Comments
 (0)