Skip to content

Commit d293190

Browse files
authored
Merge pull request #25412 from Arhell/sync
[zh] sync remove problems in DaemonSet fixed by controllerRef
2 parents d575183 + 246ded8 commit d293190

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

content/zh/docs/concepts/workloads/controllers/daemonset.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -174,20 +174,6 @@ If the `.spec.selector` is specified, it must match the `.spec.template.metadata
174174
如果指定了 `.spec.selector`,必须与 `.spec.template.metadata.labels` 相匹配。
175175
如果与后者不匹配,则 DeamonSet 会被 API 拒绝。
176176

177-
<!--
178-
Also you should not normally create any Pods whose labels match this selector, either directly, via
179-
another DaemonSet, or via another workload resource such as ReplicaSet. Otherwise, the DaemonSet
180-
{{< glossary_tooltip term_id="controller" >}} will think that those Pods were created by it.
181-
Kubernetes will not stop you from doing this. One case where you might want to do this is manually
182-
create a Pod with a different value on a node for testing.
183-
-->
184-
另外,通常不应直接通过另一个 DaemonSet 或另一个工作负载资源(例如 ReplicaSet)
185-
来创建其标签与该选择器匹配的任何 Pod。否则,DaemonSet
186-
{{< glossary_tooltip term_text="控制器" term_id="controller" >}}
187-
会认为这些 Pod 是由它创建的。
188-
Kubernetes 不会阻止你这样做。
189-
你可能要执行此操作的一种情况是,手动在节点上创建具有不同值的 Pod 进行测试。
190-
191177
<!--
192178
### Running Pods on Only Some Nodes
193179

0 commit comments

Comments
 (0)