Skip to content
New issue

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

[feature] 【日志采集】支持直接配置宿主机日志采集 #691

Closed
AlexAi27 opened this issue Dec 9, 2020 · 0 comments
Closed
Assignees
Labels
confirmed issue is confirmed feature new feature inner issue comes from Tencent side
Milestone

Comments

@AlexAi27
Copy link
Collaborator

AlexAi27 commented Dec 9, 2020

feature相关背景与描述
有用户需要直接配置宿主机日志采集,由用户维护宿主机上的日志目录的结构,logbeat-sidecar 不做容器和workload相关的逻辑操作

解决方案描述
BcsLogConfig CRD 提供新的configType: host,此模式下只支持nonStdDataId的配置,logPaths的配置直接对应宿主机目录。

其他补充信息
由于宿主机日志采集突破了namespace的限制,暂时不建议开放此功能,在共享资源环境下会出现不安全的情况

@AlexAi27 AlexAi27 added the feature new feature label Dec 9, 2020
AlexAi27 added a commit to AlexAi27/bk-bcs that referenced this issue Dec 9, 2020
1. support declaring multiple container configs in the same CRD. issue TencentBlueKing#688
2. support mapping path of container which is mounted from host into path of host which is mount source. issue TencentBlueKing#689
3. support windows container log collection. issue TencentBlueKing#690
4. support host mode. issue TencentBlueKing#691
5. support pruning symbolic link in log collection path. issue TencentBlueKing#692
@DeveloperJim DeveloperJim added this to the 1.20.x milestone Dec 11, 2020
@DeveloperJim DeveloperJim added confirmed issue is confirmed inner issue comes from Tencent side k8s labels Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed issue is confirmed feature new feature inner issue comes from Tencent side
Projects
None yet
Development

No branches or pull requests

2 participants