Skip to content

Commit 4ad4045

Browse files
committed
[zh] synchronize translate static-pod.md
1 parent ed16058 commit 4ad4045

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

content/zh/docs/tasks/configure-pod-container/static-pod.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The kubelet automatically tries to create a {{< glossary_tooltip text="mirror Po
2727
on the Kubernetes API server for each static Pod.
2828
This means that the Pods running on a node are visible on the API server,
2929
but cannot be controlled from there.
30-
The Pod names will suffixed with the node hostname with a leading hyphen
30+
The Pod names will be suffixed with the node hostname with a leading hyphen.
3131
3232
{{< note >}}
3333
If you are running clustered Kubernetes and are using static
@@ -48,6 +48,20 @@ Pod 名称将把以连字符开头的节点主机名作为后缀。
4848
就可能需要考虑使用 {{< glossary_tooltip text="DaemonSet" term_id="daemonset" >}} 替代这种方式。
4949
{{< /note >}}
5050

51+
<!--
52+
The `spec` of a static Pod cannot refer to other API objects
53+
(e.g., {{< glossary_tooltip text="ServiceAccount" term_id="service-account" >}},
54+
{{< glossary_tooltip text="ConfigMap" term_id="configmap" >}},
55+
{{< glossary_tooltip text="Secret" term_id="secret" >}}, etc).
56+
-->
57+
58+
{{< note >}}
59+
静态 Pod 的 `spec` 不能引用其他 API 对象
60+
(如:{{< glossary_tooltip text="ServiceAccount" term_id="service-account" >}}、
61+
{{< glossary_tooltip text="ConfigMap" term_id="configmap" >}}、
62+
{{< glossary_tooltip text="Secret" term_id="secret" >}} 等)。
63+
{{< /note >}}
64+
5165
## {{% heading "prerequisites" %}}
5266

5367
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}

0 commit comments

Comments
 (0)