help request: `opentelemetry` input does not update the `fluent-bit` service
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- go, kubernetes
- 領域
- devops, infrastructure
調査の方向性
まず、OpenTelemetry Input および ClusterInput リソースが Fluent Bit の pod と Service をどのように更新するかを追跡し、その経路を fluent-bit-config secret の更新に成功する経路と比較します。fluent-operator chart を使用して問題を再現し、opentelemetry input を追加すると pod と Service の両方で port 4318 が公開されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Describe the issue
Adding opentelemetry input/clusterinput resources neither triggers addition of 4318 port to existing fluent-bit service, nor creation of a new one. The fluentbit-config k8s secret is updated successfully:
fluent-bit.conf: |
[Service]
Http_Server true
Parsers_File /fluent-bit/etc/parsers.conf
[Input]
Name opentelemetry
listen 0.0.0.0
port 4318
tag_key traces
...
fluent-bit cotainers are successfully loading the configuration and starting listening on port 4318:
* Copyright (C) 2015-2024 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io
______ _ _ ______ _ _ _____ __
| ___| | | | | ___ (_) | |____ |/ |
| |_ | |_ _ ___ _ __ | |_ | |_/ /_| |_ __ __ / /`| |
| _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / / \ \ | |
| | | | |_| | __/ | | | |_ | |_/ / | |_ \ V /.___/ /_| |_
\_| |_|\__,_|\___|_| |_|\__| \____/|_|\__| \_/ \____(_)___/
[2024/11/15 11:24:38] [ info] [fluent bit] version=3.1.7, commit=c6e902a43a, pid=12
[2024/11/15 11:24:38] [ info] [storage] ver=1.5.2, type=memory, sync=normal, checksum=off, max_chunks_up=128
[2024/11/15 11:24:38] [ info] [cmetrics] version=0.9.5
[2024/11/15 11:24:38] [ info] [ctraces ] version=0.5.5
[2024/11/15 11:24:38] [ info] [input:opentelemetry:opentelemetry.0] initializing
[2024/11/15 11:24:38] [ info] [input:opentelemetry:opentelemetry.0] storage_strategy='memory' (memory only)
[2024/11/15 11:24:38] [ info] [input:opentelemetry:opentelemetry.0] listening on 0.0.0.0:4318
...
but the pod and service ports configs are not updated, thus the port is not properly exposed
pod ⬇️
...
name: fluent-bit
ports:
- containerPort: 2020
name: metrics
protocol: TCP
resources:
...
service ⬇️
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: fluent-bit
name: fluent-bit
...
spec:
ports:
- name: metrics
port: 2020
protocol: TCP
targetPort: 2020
selector:
app.kubernetes.io/name: fluent-bit
...
How did you install fluent operator?
i've used this chart https://github.com/fluent/fluent-operator/tree/master/charts/fluent-operator
Additional context
No response
- 主要言語
- Go
- スター
- 689
- フォーク
- 333
- 平均マージ
- 2日 14時間
- マージ済み PR(30日)
- 41
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fluent/fluent-operator のほかの issue
-
feat: support storage.total_limit_size for the fluent-bit forward output対応中かも @cvas22 が 1 日前に担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 30/100
fluent/fluent-operator#2126 ·
メンテナーはふだん 2 日以内に返信
-
bug: fluent-bit image still ships vulnerable libbrotli1 (CVE-2026-111497)対応中かも @joshuabaird が 9 日前に担当しました。 オープンfluent-bit security
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
fluent/fluent-operator#2082 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
fluent/fluent-operator#1990 · コメント 6 件 ·
メンテナーはふだん 2 日以内に返信
-
enhancement fluent-bit good first issue
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
fluent/fluent-operator#1854 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Remove tag consideration from Fluentd ClusterFilter / Filter order対応中かも @cvas22 が 1 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
fluent/fluent-operator#1832 ·
メンテナーはふだん 2 日以内に返信
fluent/fluent-operator の issue をすべて見る
似ている issue
-
area/docs
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
meshery/meshery#23375 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
ApplicationSet: BitBucket Cloud SCM provider returns corrupted error (%!w(<nil>)) when a branch has no commit hash対応中かも @AP24110011695 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
go good first issue help wanted up-for-grabs
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
andrewsiah/agentswarm-data-tasks#308 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
multica-ai/multica#10511 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信