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

[QUESTION]: k8s + containerd 运行时 daemonset 采集容器标准输出失败 #2075

Closed
yujun4464 opened this issue Feb 8, 2025 · 1 comment
Labels
question Further information is requested

Comments

@yujun4464
Copy link

container.yaml: |
inputs:
- Type: service_docker_stdout
Stdout: true
Stderr: false
flushers:
- Type: flusher_elasticsearch
Addresses:
- https://efk-es-http.elastic-system.svc:9200
Index: service_docker_stdout_%{+yyyyMMdd}
Convert:
ProtocolFieldsRename:
time: '@timestamp'
Authentication:
PlainText:
Username: logtail
Password: xxxx
TLS:
Enabled: True
CAFile: /mnt/elastic-internal/elasticsearch-certs/tls.crt
HTTPConfig:
MaxIdleConnsPerHost: 10
ResponseHeaderTimeout: Second

上述配置在以 cri-dockerd 运行时的 k8s 机器能够正常采集日志,换成 containerd 运行时采集不到。

@yujun4464 yujun4464 added the question Further information is requested label Feb 8, 2025
@yujun4464
Copy link
Author

结论:目前只支持CRI v1alpha2,暂不支持 V1 版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant