From 246ded8b5a5065e266b615a2a59b9c7e25703e4f Mon Sep 17 00:00:00 2001 From: Arhell Date: Sun, 6 Dec 2020 01:26:53 +0200 Subject: [PATCH] [zh] sync remove problems in DaemonSet fixed by controllerRef --- .../concepts/workloads/controllers/daemonset.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/content/zh/docs/concepts/workloads/controllers/daemonset.md b/content/zh/docs/concepts/workloads/controllers/daemonset.md index 5ad4bf617a..60f8f656fe 100644 --- a/content/zh/docs/concepts/workloads/controllers/daemonset.md +++ b/content/zh/docs/concepts/workloads/controllers/daemonset.md @@ -174,20 +174,6 @@ If the `.spec.selector` is specified, it must match the `.spec.template.metadata 如果指定了 `.spec.selector`,必须与 `.spec.template.metadata.labels` 相匹配。 如果与后者不匹配,则 DeamonSet 会被 API 拒绝。 - -另外,通常不应直接通过另一个 DaemonSet 或另一个工作负载资源(例如 ReplicaSet) -来创建其标签与该选择器匹配的任何 Pod。否则,DaemonSet -{{< glossary_tooltip term_text="控制器" term_id="controller" >}} -会认为这些 Pod 是由它创建的。 -Kubernetes 不会阻止你这样做。 -你可能要执行此操作的一种情况是,手动在节点上创建具有不同值的 Pod 进行测试。 -