Skip to content

Commit 11fdd94

Browse files
committed
[zh]Update content/zh/examples/controllers/daemonset.yaml
[zh]Update content/zh/examples/controllers/daemonset.yaml [zh]Update x [zh]Update x
1 parent 48934ab commit 11fdd94

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

content/zh/examples/controllers/daemonset.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ spec:
1515
name: fluentd-elasticsearch
1616
spec:
1717
tolerations:
18-
# this toleration is to have the daemonset runnable on master nodes
19-
# remove it if your masters can't run pods
18+
# 这些容忍度设置是为了让守护进程在控制平面节点上运行
19+
# 如果你不希望控制平面节点运行 Pod,可以删除它们
20+
- key: node-role.kubernetes.io/control-plane
21+
operator: Exists
22+
effect: NoSchedule
2023
- key: node-role.kubernetes.io/master
2124
operator: Exists
2225
effect: NoSchedule

0 commit comments

Comments
 (0)