gpt4 book ai didi

kubernetes - 流利的错误 "Systemd::JournalError: No such file or directory"

转载 作者:行者123 更新时间:2023-12-02 11:40:02 25 4
gpt4 key购买 nike

我确实安装了 fluentd-kubernetes-daemonset 在我的 kube worker 上,一个没有任何错误,但另一个却抛出以下错误:

2018-12-07 03:48:33 +0000 [warn]: #0 [in_systemd_bootkube] Systemd::JournalError: No such file or directory retrying in 1s
2018-12-07 03:48:36 +0000 [warn]: #0 [in_systemd_kubelet] Systemd::JournalError: No such file or directory retrying in 1s
2018-12-07 03:48:39 +0000 [warn]: #0 [in_systemd_bootkube] Systemd::JournalError: No such file or directory retrying in 1s
2018-12-07 03:48:40 +0000 [warn]: #0 [in_systemd_docker] Systemd::JournalError: No such file or directory retrying in 1s
2018-12-07 03:48:45 +0000 [warn]: #0 [in_systemd_kubelet] Systemd::JournalError: No such file or directory retrying in 1s
2018-12-07 03:48:44 +0000 [warn]: #0 [in_systemd_bootkube] Systemd::JournalError: No such file or directory retrying in 1s
2018-12-07 03:48:48 +0000 [warn]: #0 [in_systemd_docker] Systemd::JournalError: No such file or directory retrying in 1s
2018-12-07 03:48:55 +0000 [warn]: #0 [in_systemd_bootkube] Systemd::JournalError: No such file or directory retrying in 1s

最佳答案

如果您没有在容器中设置 systemd,默认配置下 fluentd 会显示以下消息。

[warn]: #0 [in_systemd_bootkube] Systemd::JournalError: No such file or directory retrying in 1s
[warn]: #0 [in_systemd_kubelet] Systemd::JournalError: No such file or directory retrying in 1s
[warn]: #0 [in_systemd_docker] Systemd::JournalError: No such file or directory retrying in 1s

您可以通过设置 disable 来抑制这些消息。至 FLUENTD_SYSTEMD_CONF Kubernetes 配置中的环境变量,例如:
      containers:
- name: fluentd
image: fluent/fluentd-kubernetes-daemonset:v1-debian-elasticsearch
env:
- name: FLUENT_ELASTICSEARCH_HOST
value: 'elasticsearch'
- name: FLUENT_ELASTICSEARCH_PORT
value: '9200'
- name: FLUENT_ELASTICSEARCH_SCHEME
value: 'http'
- name: FLUENT_UID
value: '0'
- name: FLUENTD_SYSTEMD_CONF
value: 'disable'

Disable systemd input

关于kubernetes - 流利的错误 "Systemd::JournalError: No such file or directory",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53669838/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com