Skip to content

Commit ed6cb87

Browse files
authored
Merge pull request #46182 from my-git9/pt-31959
[zh-cn] sync pods/_index.md ephemeral-containers.md
2 parents 415da57 + 171172b commit ed6cb87

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/zh-cn/docs/concepts/workloads/pods/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ label correctly on each node, and define pods with a `nodeSelector` based on the
253253
label, the kube-scheduler assigns your pod to a node based on other criteria and may or may not
254254
succeed in picking a suitable node placement where the node OS is right for the containers in that Pod.
255255
The [Pod security standards](/docs/concepts/security/pod-security-standards/) also use this
256-
field to avoid enforcing policies that aren't relevant to that operating system.
256+
field to avoid enforcing policies that aren't relevant to the operating system.
257257
-->
258258
你应该将 `.spec.os.name` 字段设置为 `windows``linux` 以表示你希望 Pod 运行在哪个操作系统之上。
259259
这两个是 Kubernetes 目前支持的操作系统。将来,这个列表可能会被扩充。

content/zh-cn/docs/concepts/workloads/pods/ephemeral-containers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 临时容器
33
content_type: concept
4-
weight: 80
4+
weight: 60
55
---
66

77
<!--
@@ -10,7 +10,7 @@ reviewers:
1010
- yujuhong
1111
title: Ephemeral Containers
1212
content_type: concept
13-
weight: 80
13+
weight: 60
1414
-->
1515

1616
<!-- overview -->

0 commit comments

Comments
 (0)