kubectl delete crd fluentbitconfigs.logging.kubesphere.io
kubectl delete crd fluentbits.logging.kubesphere.io
kubectl delete crd inputs.logging.kubesphere.io
kubectl delete crd outputs.logging.kubesphere.io
kubectl delete crd parsers.logging.kubesphere.io
kubectl delete deployments.apps -n kubesphere-logging-system fluentbit-operator
helm uninstall elasticsearch-logging --namespace kubesphere-logging-system
- 删除 cc status 中 logging 状态,重启 ks-installer
现在发现 fluent-bit 一直不停的重启,日志提示无法 chunk;
[2021/12/03 08:28:17] [ warn] [engine] chunk '18-1638520086.332618996.flb' cannot be retried: task_id=58, input=tail.2 > output=es.0
[2021/12/03 08:28:17] [ warn] [engine] chunk '18-1638520086.342510809.flb' cannot be retried: task_id=60, input=tail.2 > output=es.0
[2021/12/03 08:28:18] [ warn] [engine] chunk '18-1638520083.870413607.flb' cannot be retried: task_id=41, input=tail.2 > output=es.0
[2021/12/03 08:28:18] [ warn] [engine] chunk '18-1638520083.794711783.flb' cannot be retried: task_id=40, input=tail.2 > output=es.0
[2021/12/03 08:28:18] [ warn] [engine] failed to flush chunk '18-1638520097.629323361.flb', retry in 8 seconds: task_id=56, input=tail.2 > output=es.0 (out_id=0)
[2021/12/03 08:28:18] [ warn] [engine] failed to flush chunk '18-1638520093.958127808.flb', retry in 6 seconds: task_id=48, input=tail.2 > output=es.0 (out_id=0)
[2021/12/03 08:28:18] [ warn] [engine] failed to flush chunk '18-1638520098.720790610.flb', retry in 6 seconds: task_id=58, input=tail.2 > output=es.0 (out_id=0)
[2021/12/03 08:28:18] [ warn] [engine] failed to flush chunk '18-1638520093.796443144.flb', retry in 10 seconds: task_id=42, input=tail.2 > output=es.0 (out_id=0)
[2021/12/03 08:28:19] [ warn] [engine] chunk '18-1638520088.797312290.flb' cannot be retried: task_id=44, input=tail.2 > output=es.0
[2021/12/03 08:28:23] [ warn] [engine] failed to flush chunk '18-1638520098.843171176.flb', retry in 11 seconds: task_id=40, input=tail.2 > output=es.0 (out_id=0)
[2021/12/03 08:28:23] [ warn] [engine] failed to flush chunk '18-1638520098.859934269.flb', retry in 10 seconds: task_id=41, input=tail.2 > output=es.0 (out_id=0)
[2021/12/03 08:28:24] [ warn] [engine] chunk '18-1638520098.720790610.flb' cannot be retried: task_id=58, input=tail.2 > output=es.0
[2021/12/03 08:28:24] [ warn] [engine] chunk '18-1638520093.958127808.flb' cannot be retried: task_id=48, input=tail.2 > output=es.0
[2021/12/03 08:28:26] [ warn] [engine] chunk '18-1638520097.629323361.flb' cannot be retried: task_id=56, input=tail.2 > output=es.0
[2021/12/03 08:28:28] [ warn] [engine] chunk '18-1638520093.796443144.flb' cannot be retried: task_id=42, input=tail.2 > output=es.0
# output es 中添加
spec:
es:
generateID: true
—
暂时没找到什么原因了,求指导 DehaoCheng