We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
die
stop
destroy
spec: # in second,容器退出后持续采集时间,如果出现pod terminating因为日志采集卡住则需要配置 exitedContainerLogCloseTimeout: 10 # multiline 采集配置,详见https://www.elastic.co/guide/en/beats/filebeat/current/multiline-examples.html multiline: type: pattern pattern: "^[\\{\\t][\\s\\S]*" match: before #negate: #flushPattern: #maxLines: #timeout: #countLines: #skiplNewline: # 容器内日志配置 containerConfs: - multiline: type: pattern pattern: "^[\\{\\t][\\s\\S]*" match: before
The text was updated successfully, but these errors were encountered:
feature: add multiline and exitedContainerLogCloseTimeout field for b…
a400ad6
…cslogconfig crd. issue TencentBlueKing#962
fix: go lint issue TencentBlueKing#962
f147d6f
9cbbf08
f77859a
feature: logbeat-sidecar support multiline; add container name to log…
12ad98f
… collection meta data issue TencentBlueKing#962
feature: bcs-logbeat-sidecar replace dot('.') in pod labels to '_' is…
df96982
…sue TencentBlueKing#962
DeveloperJim
No branches or pull requests
日志配置生命周期优化
具体流程
die
,stop
事件时,保留日志采集配置,修改配置使采集器读到日志末尾后主动释放日志文件,避免占用fd导致cbs无法解挂,出现Pod无法退出的情况。同时,可以配置最大持续采集时间,当时间到但采集器仍未采集完日志,仍然主动释放日志文件。destroy
事件时,删除日志配置,保证日志采集器释放日志文件CRD变化
The text was updated successfully, but these errors were encountered: