bug: Encountering Errors and Warnings During Helm install fluent-operator
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- helm, kubernetes
- 领域
- devops, infrastructure
调研方向
使用报告的 values.yaml 和 fluentbit-fluentBit.yaml 更改重新执行 Helm 安装,然后检查渲染出的资源和安装输出。验证 security-context 警告和 fluentbits 资源查找错误不再出现;deployment 和 Fluent Bit 资源仍应成功创建。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Go
- 星标
- 689
- 派生
- 333
- 平均合并
- 2 天 6 小时
- 30 天内合并 PR
- 43
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fluent/fluent-operator 的其他 Issue
-
feat: support the Fluent Bit type_converter filter可能已有人在做 @NopeCharon 今天认领。 未关闭
难度 4/5 3-5 天 新手友好度 65/100
fluent/fluent-operator#2131 ·
维护者通常 1 天内回复
-
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 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
fluent/fluent-operator#1990 · 9 条评论 ·
维护者通常 1 天内回复
-
enhancement fluent-bit good first issue
难度 4/5 3-5 天 新手友好度 35/100
fluent/fluent-operator#1854 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Remove tag consideration from Fluentd ClusterFilter / Filter order可能已有人在做 @cvas22 于 1 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 45/100
fluent/fluent-operator#1832 ·
维护者通常 1 天内回复
查看 fluent/fluent-operator 的全部 Issue
相似的 Issue
-
automated-triage type/bug type/ci
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 75/100
hashicorp/terraform-provider-google#30678 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
ethereum-optimism/optimism#24120 ·
维护者通常 1 天内回复
-
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 天内回复