bug: Configuring fluent-watcher

未关闭
#1,503 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
kubernetes

调研方向

从 values.yaml 中的 Fluent-watcher 配置以及 issue 中显示的 fluent-bit-watcher 命令和参数开始。检查配置更改如何在 Kubernetes pod 中传播,以及是否会报告 watcher 的活动。完成的标准是配置更改生效,而无需手动重启 fluent-bit pod。

由索引模型根据 Issue 内容生成。

描述

Describe the issue

HI Team, I deployed fluent-bit using fluent operator v3.3.0. In case of any configuration change, the changes are not effective unless if we restart the fluent-bit pods manually. Tried using fluent-watcher with the below changes in values.yaml.

Fluent-watcher

command: ["/fluent-bit/bin/fluent-bit-watcher"]
# custom command line arguments.
args:
- "-c=/fluent-bit/etc/fluent-bit.conf"
- "-watch-path=/fluent-bit/etc

With these chagnes, the configurational changes are not effective unless with a manual restart. Can you please let me know if I am missing anything?

To Reproduce

Incorporated fluent-watcher with the below changes:

Fluent-watcher

command: ["/fluent-bit/bin/fluent-bit-watcher"]
# custom command line arguments.
args:
- "-c=/fluent-bit/etc/fluent-bit.conf"
- "-watch-path=/fluent-bit/etc"

The configurational changes should be effective without a manual restart of fluent-bit pods.

Expected behavior

The configurational changes should be effective without a manual restart of fluent-bit pods with fluent-watcher

Your Environment
- Fluent Operator version: v3.3.0 on a k8s cluster.
How did you install fluent operator?

No response

Additional context

No response

主要语言
Go
星标
689
派生
333
平均合并
2 天 14 小时
30 天内合并 PR
41

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fluent/fluent-operator 的其他 Issue

查看 fluent/fluent-operator 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。