AliyunContainerService / log-pilot

Collect logs for docker containers
https://yq.aliyun.com/articles/674327
Apache License 2.0
1.43k stars 402 forks source link

support containerd and cri-o? #241

Open silenceper opened 5 years ago

chenquanzhao commented 5 years ago

@silenceper 目前还不支持

silenceper commented 4 years ago

@silenceper 目前还不支持

这个有计划吗,或者实现方式 初步设想是通过watch apiserver的pod变化,在调用cri接口去获取容器配置

Colstuwjx commented 4 years ago

@silenceper 不仅仅是runtime,log-pilot实现还依赖了docker的一些基础实现,比如 volume mount 和 event ,切换到其他runtime可能改动很大。

silenceper commented 4 years ago

@silenceper 不仅仅是runtime,log-pilot实现还依赖了docker的一些基础实现,比如 volume mount 和 event ,切换到其他runtime可能改动很大。

是的,就是作为一个功能项来支持

peterchenhc commented 4 years ago

这个计划什么时候可以支持呢

Colstuwjx commented 3 years ago

Hi all,

我这边有尝试添加对 containerd 的支持,见 fork repo PR,目前初步测试是能跑通逻辑的!

bogeit commented 1 year ago

Hi all,

我这边有尝试添加对 containerd 的支持,见 fork repo PR,目前初步测试是能跑通逻辑的!

你好,我把你修改的源码编译打包成功了镜像,请问使用时怎么修改runtime为Containerd呢?

zhajingwen commented 1 year ago

https://github.com/AliyunContainerService/log-pilot/issues/349 这里有别人构建好的镜像,但是我没有测试通

zhajingwen commented 1 year ago

已解决,参考:https://www.jianshu.com/p/27d13fa293d5