[zh] Localize part1 of /feature-gates/p*.md

This commit is contained in:
windsonsea 2023-12-25 09:27:13 +08:00
parent 74b603b45f
commit 8edf79b4bf
8 changed files with 207 additions and 0 deletions

View File

@ -0,0 +1,25 @@
---
title: PDBUnhealthyPodEvictionPolicy
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.26"
toVersion: "1.26"
- stage: beta
defaultValue: true
fromVersion: "1.27"
---
<!--
Enables the `unhealthyPodEvictionPolicy` field of a `PodDisruptionBudget`. This specifies
when unhealthy pods should be considered for eviction. Please see [Unhealthy Pod Eviction Policy](/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy)
for more details.
-->
启用 `PodDisruptionBudget``unhealthyPodEvictionPolicy` 字段。
此字段指定何时应考虑驱逐不健康的 Pod。
更多细节请参阅[不健康 Pod 驱逐策略](/zh-cn/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy)。

View File

@ -0,0 +1,32 @@
---
# Removed from Kubernetes
title: PersistentLocalVolumes
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.7"
toVersion: "1.9"
- stage: beta
defaultValue: true
fromVersion: "1.10"
toVersion: "1.13"
- stage: stable
defaultValue: true
fromVersion: "1.14"
toVersion: "1.16"
removed: true
---
<!--
Enable the usage of `local` volume type in Pods.
Pod affinity has to be specified if requesting a `local` volume.
-->
允许在 Pod 中使用 `local` 卷类型。
如果请求 `local` 卷,则必须指定 Pod 亲和性属性。

View File

@ -0,0 +1,22 @@
---
title: PersistentVolumeLastPhaseTransitionTime
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"
---
<!--
Adds a new field to PersistentVolume
which holds a timestamp of when the volume last transitioned its phase.
-->
为 PersistentVolume 添加一个新字段,用于保存卷上一次转换阶段的时间戳。

View File

@ -0,0 +1,35 @@
---
# Removed from Kubernetes
title: PodAffinityNamespaceSelector
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.21"
toVersion: "1.21"
- stage: beta
defaultValue: true
fromVersion: "1.22"
toVersion: "1.23"
- stage: stable
defaultValue: true
fromVersion: "1.24"
toVersion: "1.25"
removed: true
---
<!--
Enable the
[Pod Affinity Namespace Selector](/docs/concepts/scheduling-eviction/assign-pod-node/#namespace-selector)
and [CrossNamespacePodAffinity](/docs/concepts/policy/resource-quotas/#cross-namespace-pod-affinity-quota)
quota scope features.
-->
启用 [Pod 亲和性名字空间选择算符](/zh-cn/docs/concepts/scheduling-eviction/assign-pod-node/#namespace-selector)和
[CrossNamespacePodAffinity](/zh-cn/docs/concepts/policy/resource-quotas/#cross-namespace-pod-affinity-quota)
资源配额特性。

View File

@ -0,0 +1,19 @@
---
title: PodAndContainerStatsFromCRI
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.23"
---
<!--
Configure the kubelet to gather container and pod stats from the CRI container runtime rather than gathering them from cAdvisor.
As of 1.26, this also includes gathering metrics from CRI and emitting them over `/metrics/cadvisor` (rather than having cAdvisor emit them directly).
-->
将 kubelet 配置为从 CRI 容器运行时收集容器和 Pod 的统计信息,而不是从 cAdvisor 收集统计信息。
从 1.26 版本开始,这还包括从 CRI 收集指标并通过 `/metrics/cadvisor` 进行发布(而不是直接由 cAdvisor 发布)。

View File

@ -0,0 +1,23 @@
---
title: PodDeletionCost
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.21"
toVersion: "1.21"
- stage: beta
defaultValue: true
fromVersion: "1.22"
---
<!--
Enable the [Pod Deletion Cost](/docs/concepts/workloads/controllers/replicaset/#pod-deletion-cost)
feature which allows users to influence ReplicaSet downscaling order.
-->
启用 [Pod 删除开销](/zh-cn/docs/concepts/workloads/controllers/replicaset/#pod-deletion-cost)特性,
允许用户影响 ReplicaSet 的缩容顺序。

View File

@ -0,0 +1,30 @@
---
# Removed from Kubernetes
title: PodDisruptionBudget
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.3"
toVersion: "1.4"
- stage: beta
defaultValue: true
fromVersion: "1.5"
toVersion: "1.20"
- stage: stable
defaultValue: true
fromVersion: "1.21"
toVersion: "1.25"
removed: true
---
<!--
Enable the [PodDisruptionBudget](/docs/tasks/run-application/configure-pdb/) feature.
-->
启用 [PodDisruptionBudget](/zh-cn/docs/tasks/run-application/configure-pdb/) 特性。

View File

@ -0,0 +1,21 @@
---
title: PodDisruptionConditions
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.25"
toVersion: "1.25"
- stage: beta
defaultValue: true
fromVersion: "1.26"
---
<!--
Enables support for appending a dedicated pod condition indicating that the pod is being deleted due to a disruption.
-->
启用支持追加一个专用的 Pod 状况,以表示 Pod 由于某个干扰正在被删除。