mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #41489 from Crassirostris/fluentd-add-toleration
Automatic merge from submit-queue (batch tested with PRs 40000, 41508, 41489) Add toleration to fluentd daemonset to make it run on master Because of https://github.com/kubernetes/kubernetes/pull/41172 fluentd pods stopped being allocated on master node. This PR introduces toleration for master taint for fluentd. CC @davidopp @janetkuo @kubernetes/sig-scheduling-bugs Unfortunately, we don't have e2e tests to ensure that master logs are being ingested. This problem is a great signal to work on https://github.com/kubernetes/kubernetes/issues/41411
This commit is contained in:
commit
627c6ce2b8
@ -19,6 +19,7 @@ spec:
|
||||
# Note that this does not guarantee admission on the nodes (#40573).
|
||||
annotations:
|
||||
scheduler.alpha.kubernetes.io/critical-pod: ''
|
||||
scheduler.alpha.kubernetes.io/tolerations: '[{"key": "node.alpha.kubernetes.io/ismaster", "effect": "NoSchedule"}]'
|
||||
spec:
|
||||
containers:
|
||||
- name: fluentd-es
|
||||
|
@ -20,6 +20,7 @@ spec:
|
||||
# Note that this does not guarantee admission on the nodes (#40573).
|
||||
annotations:
|
||||
scheduler.alpha.kubernetes.io/critical-pod: ''
|
||||
scheduler.alpha.kubernetes.io/tolerations: '[{"key": "node.alpha.kubernetes.io/ismaster", "effect": "NoSchedule"}]'
|
||||
spec:
|
||||
dnsPolicy: Default
|
||||
containers:
|
||||
|
Loading…
Reference in New Issue
Block a user