diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pdb-unhealthy-pod-eviction-policy.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pdb-unhealthy-pod-eviction-policy.md new file mode 100644 index 0000000000..7173cbc529 --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pdb-unhealthy-pod-eviction-policy.md @@ -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" +--- + + +启用 `PodDisruptionBudget` 的 `unhealthyPodEvictionPolicy` 字段。 +此字段指定何时应考虑驱逐不健康的 Pod。 +更多细节请参阅[不健康 Pod 驱逐策略](/zh-cn/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy)。 diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/persistent-local-volumes.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/persistent-local-volumes.md new file mode 100644 index 0000000000..18db1c8068 --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/persistent-local-volumes.md @@ -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 +--- + + +允许在 Pod 中使用 `local` 卷类型。 +如果请求 `local` 卷,则必须指定 Pod 亲和性属性。 diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/persistent-volume-last-phase-transition-time.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/persistent-volume-last-phase-transition-time.md new file mode 100644 index 0000000000..79170213b5 --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/persistent-volume-last-phase-transition-time.md @@ -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" +--- + + +为 PersistentVolume 添加一个新字段,用于保存卷上一次转换阶段的时间戳。 diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-affinity-namespace-selector.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-affinity-namespace-selector.md new file mode 100644 index 0000000000..cb2bcb350e --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-affinity-namespace-selector.md @@ -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 +--- + + +启用 [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) +资源配额特性。 diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-and-container-stats-from-cri.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-and-container-stats-from-cri.md new file mode 100644 index 0000000000..a8b7b04e82 --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-and-container-stats-from-cri.md @@ -0,0 +1,19 @@ +--- +title: PodAndContainerStatsFromCRI +content_type: feature_gate +_build: + list: never + render: false + +stages: + - stage: alpha + defaultValue: false + fromVersion: "1.23" +--- + + +将 kubelet 配置为从 CRI 容器运行时收集容器和 Pod 的统计信息,而不是从 cAdvisor 收集统计信息。 +从 1.26 版本开始,这还包括从 CRI 收集指标并通过 `/metrics/cadvisor` 进行发布(而不是直接由 cAdvisor 发布)。 diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-deletion-cost.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-deletion-cost.md new file mode 100644 index 0000000000..d3f42ed3d5 --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-deletion-cost.md @@ -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" +--- + + +启用 [Pod 删除开销](/zh-cn/docs/concepts/workloads/controllers/replicaset/#pod-deletion-cost)特性, +允许用户影响 ReplicaSet 的缩容顺序。 diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-disruption-budget.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-disruption-budget.md new file mode 100644 index 0000000000..5d943cec8d --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-disruption-budget.md @@ -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 +--- + + +启用 [PodDisruptionBudget](/zh-cn/docs/tasks/run-application/configure-pdb/) 特性。 diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-disruption-conditions.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-disruption-conditions.md new file mode 100644 index 0000000000..e1cb9fc40d --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/pod-disruption-conditions.md @@ -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" +--- + + +启用支持追加一个专用的 Pod 状况,以表示 Pod 由于某个干扰正在被删除。