Skip to content

Commit 07b41c0

Browse files
qlijintengqm
andcommitted
[zh-cn] sync 2022-09-14-pod-has-network-condition.md
Co-authored-by: Qiming Teng <[email protected]>
1 parent 2a24f54 commit 07b41c0

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

content/zh-cn/blog/_posts/2022-09-14-pod-has-network-condition.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,18 @@ layout: blog
33
title: 'Kubernetes 1.25:Pod 新增 PodHasNetwork 状况'
44
date: 2022-09-14
55
slug: pod-has-network-condition
6+
author: >
7+
Deep Debroy (Apple)
68
---
79
<!--
810
layout: blog
911
title: 'Kubernetes 1.25: PodHasNetwork Condition for Pods'
1012
date: 2022-09-14
1113
slug: pod-has-network-condition
14+
author: >
15+
Deep Debroy (Apple)
1216
-->
1317

14-
<!--
15-
**Author:**
16-
Deep Debroy (Apple)
17-
-->
18-
**作者:**
19-
Deep Debroy (Apple)
20-
2118
<!--
2219
Kubernetes 1.25 introduces Alpha support for a new kubelet-managed pod condition
2320
in the status field of a pod: `PodHasNetwork`. The kubelet, for a worker node,
@@ -43,6 +40,21 @@ Kubernetes 1.25 引入了对 kubelet 所管理的新的 Pod 状况 `PodHasNetwor
4340
状况来准确生成服务水平指标(Service Level Indicator,SLI)。
4441
某些管理底层 Pod 的 Operator 或控制器可以利用 `PodHasNetwork` 状况来优化 Pod 反复出现失败时要执行的操作。
4542

43+
<!--
44+
### Updates for Kubernetes 1.28
45+
46+
The `PodHasNetwork` condition has been renamed to `PodReadyToStartContainers`.
47+
Alongside that change, the feature gate `PodHasNetworkCondition` has been replaced by
48+
`PodReadyToStartContainersCondition`. You need to set `PodReadyToStartContainersCondition`
49+
to true in order to use the new feature in v1.28.0 and later.
50+
-->
51+
### Kubernetes 1.28 更新内容
52+
53+
`PodHasNetwork` 状况已更名为 `PodReadyToStartContainers`。与此变更同步的是,特性门控
54+
`PodHasNetworkCondition` 已被替换为 `PodReadyToStartContainersCondition`
55+
你需要将 `PodReadyToStartContainersCondition` 设置为 true,
56+
才能在 v1.28.0 及更高版本中使用这一新特性。
57+
4658
<!--
4759
### How is this different from the existing Initialized condition reported for pods?
4860

0 commit comments

Comments
 (0)