简体   繁体   English

来自 k8s pod 的原始日志

[英]Raw logs from the k8s pods

I want to store the raw logs provided by the pods in stdout.我想将 pod 提供的原始日志存储在标准输出中。 Is there any better way to scrape the log and store it somewhere without using es for indexing?有没有更好的方法来抓取日志并将其存储在某个地方而不使用 es 进行索引?

Yes, there are many ways you can achieve the same.是的,有很多方法可以实现相同的目标。

Refer https://kubernetes.io/docs/concepts/cluster-administration/logging/参考https://kubernetes.io/docs/concepts/cluster-administration/logging/

Typically a Daemonset or a Sidecar container is used通常使用 Daemonset 或 Sidecar 容器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM