Merge pull request #33435 from kinzhi/kinzhi87

[zh]Sync content/zh/examples/controllers/daemonset.yaml
pull/33451/head
Kubernetes Prow Robot 2022-05-04 05:13:51 -07:00 committed by GitHub
commit 5bc316b7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -15,8 +15,11 @@ spec:
name: fluentd-elasticsearch
spec:
tolerations:
# this toleration is to have the daemonset runnable on master nodes
# remove it if your masters can't run pods
# 这些容忍度设置是为了让守护进程在控制平面节点上运行
# 如果你不希望控制平面节点运行 Pod可以删除它们
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule