File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
content/zh/docs/tasks/configure-pod-container Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ The kubelet automatically tries to create a {{< glossary_tooltip text="mirror Po
27
27
on the Kubernetes API server for each static Pod.
28
28
This means that the Pods running on a node are visible on the API server,
29
29
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.
31
31
32
32
{{< note >}}
33
33
If you are running clustered Kubernetes and are using static
@@ -48,6 +48,20 @@ Pod 名称将把以连字符开头的节点主机名作为后缀。
48
48
就可能需要考虑使用 {{< glossary_tooltip text="DaemonSet" term_id="daemonset" >}} 替代这种方式。
49
49
{{< /note >}}
50
50
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
+
51
65
## {{% heading "prerequisites" %}}
52
66
53
67
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
You can’t perform that action at this time.
0 commit comments