File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
content/zh-cn/docs/concepts/workloads/pods Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ You should set the `.spec.os.name` field to either `windows` or `linux` to indic
278
278
In Kubernetes v{{< skew currentVersion >}}, the value you set for this field has no
279
279
effect on {{< glossary_tooltip text="scheduling" term_id="kube-scheduler" >}} of the pods.
280
280
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
282
282
specified a Pod OS, if this isn't the same as the operating system for the node where
283
283
that kubelet is running.
284
284
The [Pod security standards](/docs/concepts/security/pod-security-standards/) also use this
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ Here are some ideas for how to use init containers:
167
167
* 等待一个 Service 完成创建,通过类似如下 Shell 命令:
168
168
169
169
``` 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
171
171
```
172
172
173
173
<!--
You can’t perform that action at this time.
0 commit comments