Skip to content

Commit 5bc316b

Browse files
authored
Merge pull request #33435 from kinzhi/kinzhi87
[zh]Sync content/zh/examples/controllers/daemonset.yaml
2 parents c04603a + 11fdd94 commit 5bc316b

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)