Skip to content

Commit 2b10c37

Browse files
committed
sync /pods/_index init-container /labels-annotations-taints/_index
sync /pods/_index init-container /labels-annotations-taints/_index
1 parent 3df479c commit 2b10c37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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
@@ -278,7 +278,7 @@ You should set the `.spec.os.name` field to either `windows` or `linux` to indic
278278
In Kubernetes v{{< skew currentVersion >}}, the value you set for this field has no
279279
effect on {{< glossary_tooltip text="scheduling" term_id="kube-scheduler" >}} of the pods.
280280
Setting the `.spec.os.name` helps to identify the pod OS
281-
authoratitively and is used for validation. The kubelet refuses to run a Pod where you have
281+
authoritatively and is used for validation. The kubelet refuses to run a Pod where you have
282282
specified a Pod OS, if this isn't the same as the operating system for the node where
283283
that kubelet is running.
284284
The [Pod security standards](/docs/concepts/security/pod-security-standards/) also use this

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Here are some ideas for how to use init containers:
167167
* 等待一个 Service 完成创建,通过类似如下 Shell 命令:
168168

169169
```shell
170-
for i in {1..100}; do sleep 1; if dig myservice; then exit 0; fi; done; exit 1
170+
for i in {1..100}; do sleep 1; if nslookup myservice; then exit 0; fi; done; exit 1
171171
```
172172

173173
<!--

0 commit comments

Comments
 (0)