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] 【日志采集】自动采集容器内挂载目录对应的宿主机目录 #689

Closed
AlexAi27 opened this issue Dec 9, 2020 · 0 comments
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相关背景与描述
支持自动采集容器内挂载目录对应的宿主机目录,解决overlayfs中挂载宿主机目录为空目录的问题,并对 windows 容器目录采集做支持

解决方案描述
判断容器挂载目的目录是否与容器内文件目录的前缀匹配,若匹配则直接将前缀替换为挂载的源路径,也即宿主机的目录

@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