Skip to content

Commit e4a8dc2

Browse files
committed
[zh] update controllers/fluentd-daemonset-update.yaml
Signed-off-by: xin.li <[email protected]>
1 parent bf46c15 commit e4a8dc2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

content/zh/examples/controllers/fluentd-daemonset-update.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ spec:
1919
name: fluentd-elasticsearch
2020
spec:
2121
tolerations:
22-
# this toleration is to have the daemonset runnable on master nodes
23-
# remove it if your masters can't run pods
22+
# 这些容忍度使得守护进程能够在控制平面节点上运行
23+
# 如果你的控制平面节点不应该运行 pod,请删除它们
24+
- key: node-role.kubernetes.io/control-plane
25+
operator: Exists
26+
effect: NoSchedule
2427
- key: node-role.kubernetes.io/master
28+
operator: Exists
2529
effect: NoSchedule
2630
containers:
2731
- name: fluentd-elasticsearch

0 commit comments

Comments
 (0)