Merge pull request #44537 from windsonsea/gate2p

[zh] Localize part2 of feature-gates/p*.md
pull/44551/head
Kubernetes Prow Robot 2023-12-28 03:03:04 +01:00 committed by GitHub
commit 1c95a6fa03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 178 additions and 0 deletions

View File

@ -0,0 +1,23 @@
---
title: PodHasNetworkCondition
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.25"
toVersion: "1.27"
removed: true
---
<!--
Enable the kubelet to mark the [PodHasNetwork](/docs/concepts/workloads/pods/pod-lifecycle/#pod-has-network)
condition on pods. This was renamed to `PodReadyToStartContainersCondition` in 1.28.
-->
使得 kubelet 能够对 Pod 标记
[PodHasNetwork](/zh-cn/docs/concepts/workloads/pods/pod-lifecycle/#pod-has-network) 状况。
此特性在 1.28 中重命名为 `PodReadyToStartContainersCondition`

View File

@ -0,0 +1,23 @@
---
title: PodHostIPs
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.28"
toVersion: "1.28"
- stage: beta
defaultValue: true
fromVersion: "1.29"
---
<!--
Enable the `status.hostIPs` field for pods and the {{< glossary_tooltip term_id="downward-api" text="downward API" >}}.
The field lets you expose host IP addresses to workloads.
-->
为 Pod 和 {{< glossary_tooltip term_id="downward-api" text="downward API" >}}
启用 `status.hostIPs` 字段。此字段允许你将主机 IP 地址暴露给工作负载。

View File

@ -0,0 +1,19 @@
---
title: PodIndexLabel
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: beta
defaultValue: true
fromVersion: "1.28"
---
<!--
Enables the Job controller and StatefulSet controller to add the pod index as a label when creating new pods. See [Job completion mode docs](/docs/concepts/workloads/controllers/job#completion-mode) and [StatefulSet pod index label docs](/docs/concepts/workloads/controllers/statefulset/#pod-index-label) for more details.
-->
在创建新的 Pod 时允许 Job 控制器和 StatefulSet 控制器将 Pod 索引添加为标签。
详情参见 [Job 完成模式文档](/zh-cn/docs/concepts/workloads/controllers/job#completion-mode)和
[StatefulSet Pod 索引标签文档](/zh-cn/docs/concepts/workloads/controllers/statefulset/#pod-index-label)。

View File

@ -0,0 +1,17 @@
---
title: PodLifecycleSleepAction
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.29"
---
<!--
Enables the `sleep` action in Container lifecycle hooks.
-->
在 Container 生命周期钩子中启用 `sleep` 操作。

View File

@ -0,0 +1,32 @@
---
# Removed from Kubernetes
title: PodOverhead
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.16"
toVersion: "1.17"
- stage: beta
defaultValue: true
fromVersion: "1.18"
toVersion: "1.23"
- stage: stable
defaultValue: true
fromVersion: "1.24"
toVersion: "1.25"
removed: true
---
<!--
Enable the [PodOverhead](/docs/concepts/scheduling-eviction/pod-overhead/)
feature to account for pod overheads.
-->
启用 [PodOverhead](/zh-cn/docs/concepts/scheduling-eviction/pod-overhead/)
特性以计算 Pod 开销。

View File

@ -0,0 +1,31 @@
---
# Removed from Kubernetes
title: PodPriority
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.8"
toVersion: "1.10"
- stage: beta
defaultValue: true
fromVersion: "1.11"
toVersion: "1.13"
- stage: stable
defaultValue: true
fromVersion: "1.14"
toVersion: "1.18"
removed: true
---
<!--
Enable the descheduling and preemption of Pods based on their
[priorities](/docs/concepts/scheduling-eviction/pod-priority-preemption/).
-->
允许根据[优先级](/zh-cn/docs/concepts/scheduling-eviction/pod-priority-preemption/)取消调度和抢占 Pod。

View File

@ -0,0 +1,33 @@
---
# Removed from Kubernetes
title: PodReadinessGates
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.11"
toVersion: "1.11"
- stage: beta
defaultValue: true
fromVersion: "1.12"
toVersion: "1.13"
- stage: stable
defaultValue: true
fromVersion: "1.14"
toVersion: "1.16"
removed: true
---
<!--
Enable the setting of `PodReadinessGate` field for extending
Pod readiness evaluation. See [Pod readiness gate](/docs/concepts/workloads/pods/pod-lifecycle/#pod-readiness-gate)
for more details.
-->
允许设置 `podReadinessGate` 字段以扩展 Pod 就绪状态评估。更多细节请参见
[Pod 就绪状态判别](/zh-cn/docs/concepts/workloads/pods/pod-lifecycle/#pod-readiness-gate)。