bug: Encountering Errors and Warnings During Helm install fluent-operator
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 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ệ
- helm, kubernetes
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
Tái hiện quá trình cài đặt Helm với các thay đổi đã được báo cáo trong values.yaml và fluentbit-fluentBit.yaml, sau đó kiểm tra các tài nguyên đã được render và đầu ra cài đặt. Xác minh rằng các cảnh báo về security-context và lỗi tra cứu tài nguyên fluentbits không còn xảy ra; các tài nguyên deployment và Fluent Bit vẫn phải được tạo thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the issue
- Encountering Errors and Warnings During Helm install fluent-operator
$ helm install fluent-operator -n fluentbit ./fluent-operator/
W0430 21:57:57.912852 19520 warnings.go:70] unknown field "spec.securityContext.capabilities"
W0430 21:57:57.912852 19520 warnings.go:70] unknown field "spec.securityContext.privileged"
W0430 21:57:57.912852 19520 warnings.go:70] unknown field "spec.securityContext.readOnlyRootFilesystem"
Error: INSTALLATION FAILED: failed to refresh resource information: fluentbits.fluentbit.fluent.io "fluent-bit" not found
$ helm list -n fluentbit
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
fluent-operator fluentbit 1 2024-04-30 21:57:43.0906769 -0400 EDT failed fluent-operator-2.8.0 2.8.0
- The deployment seems ok
$ kubectl get fluentbits.fluentbit.fluent.io -n fluentbit
NAME AGE
fluent-bit 13h
$ kubectl get all -n fluentbit
NAME READY STATUS RESTARTS AGE
pod/fluent-bit-8sdnh 1/1 Running 0 9h
pod/fluent-bit-9xgm2 1/1 Running 0 9h
pod/fluent-bit-dtqw9 1/1 Running 0 9h
pod/fluent-bit-fdm9f 1/1 Running 0 9h
pod/fluent-bit-g54tw 1/1 Running 0 9h
pod/fluent-bit-t7dw9 1/1 Running 0 9h
pod/fluent-bit-vk27g 1/1 Running 0 9h
pod/fluent-bit-wlhvz 1/1 Running 0 9h
pod/fluent-bit-xx5g4 1/1 Running 0 9h
pod/fluent-operator-5d466549cb-s8cn6 1/1 Running 0 9h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/fluent-bit ClusterIP x.x.x.x <none> 2020/TCP 9h
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
daemonset.apps/fluent-bit 9 9 9 9 9 <none> 9h
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/fluent-operator 1/1 1 1 9h
NAME DESIRED CURRENT READY AGE
replicaset.apps/fluent-operator-5d466549cb 1 1 1 9h
- I made these changes in values.yaml for supporting non root user
# initContainers test run as non root user
initContainers:
- name: chowner-fb-storage
image: registry.hub.docker.com/library/alpine:3.12.0
command: ["chown", "3301:3301", "/fluent-bit"]
securityContext:
readOnlyRootFilesystem: true
capabilities:
drop: ["all"]
add: ["CHOWN"]
runAsUser: 0
runAsNonRoot: false
volumeMounts:
- name: positions
mountPath: /fluent-bit
- changes in fluentbit-fluentBit.yaml
{{- if .Values.fluentbit.initContainers }}
initContainers:
{{ toYaml .Values.fluentbit.initContainers | indent 4 }}
{{- end }}
To Reproduce
run "helm install fluent-operator -n fluentbit ./fluent-operator/" with above changes
Expected behavior
no warning and Error with "helm install fluent-operator -n fluentbit ./fluent-operator/"
Your Environment
- Fluent Operator version: v2.8.0
- Container Runtime: containerd://1.7.7-1
- Operating system: Ubuntu 22.04.4 LTS
- Kernel version: 5.15.0-1057-azure
How did you install fluent operator?
helm install fluent-operator -n fluentbit ./fluent-operator/
Additional context
No response
- Ngôn ngữ chính
- Go
- Star
- 689
- Fork
- 333
- Merge trung bình
- 2 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 43
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 the Fluent Bit type_converter filterCó thể đã có người làm @NopeCharon đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 65/100
fluent/fluent-operator#2131 ·
Maintainer thường phản hồi trong vòng 1 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 1 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 · 9 bình luận ·
Maintainer thường phản hồi trong vòng 1 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 1 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 1 ngày
Tất cả issue của fluent/fluent-operator
Issue tương tự
-
automated-triage type/bug type/ci
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
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 75/100
hashicorp/terraform-provider-google#30678 ·
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 83/100
ethereum-optimism/optimism#24120 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
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