help request: `opentelemetry` input does not update the `fluent-bit` service
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- go, kubernetes
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
Bắt đầu bằng cách theo dõi cách các tài nguyên OpenTelemetry Input và ClusterInput cập nhật pod và Service của Fluent Bit, đồng thời so sánh quy trình đó với việc cập nhật thành công secret fluent-bit-config. Tái hiện sự cố bằng chart fluent-operator và xác minh rằng việc thêm một input opentelemetry sẽ expose port 4318 trên cả pod và Service.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Go
- Star
- 689
- Fork
- 333
- Merge trung bình
- 2 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 41
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fluent/fluent-operator
-
feat: support storage.total_limit_size for the fluent-bit forward outputCó thể đã có người làm @cvas22 đã nhận 1 ngày trước. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 30/100
fluent/fluent-operator#2126 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug: fluent-bit image still ships vulnerable libbrotli1 (CVE-2026-111497)Có thể đã có người làm @joshuabaird đã nhận 9 ngày trước. Đang mởfluent-bit security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
fluent/fluent-operator#2082 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug: fluent operator is consuming lot of cpu cores (~27 of the 32 available cores on a Node)Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
fluent/fluent-operator#1990 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement fluent-bit good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
fluent/fluent-operator#1854 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Remove tag consideration from Fluentd ClusterFilter / Filter orderCó thể đã có người làm @cvas22 đã nhận 1 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
fluent/fluent-operator#1832 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của fluent/fluent-operator
Issue tương tự
-
area/docs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
meshery/meshery#23375 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ApplicationSet: BitBucket Cloud SCM provider returns corrupted error (%!w(<nil>)) when a branch has no commit hashCó thể đã có người làm @AP24110011695 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
go good first issue help wanted up-for-grabs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
andrewsiah/agentswarm-data-tasks#308 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
multica-ai/multica#10511 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày