<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Sidecar on Hex Blog</title><link>https://hex-go.github.io/tags/sidecar/</link><description>Recent content in Sidecar on Hex Blog</description><generator>Hugo -- gohugo.io</generator><language>zh</language><managingEditor>hex-py@gmail.com (Hex)</managingEditor><webMaster>hex-py@gmail.com (Hex)</webMaster><copyright>©2026, All Rights Reserved</copyright><lastBuildDate>Wed, 27 Jan 2021 09:37:06 +0000</lastBuildDate><atom:link href="https://hex-go.github.io/tags/sidecar/index.xml" rel="self" type="application/rss+xml"/><item><title>Kubernetes 使用 Sidecar 配置 Filebeat 收集容器日志</title><link>https://hex-go.github.io/posts/kubernetes/2021-01-27-kubernetes-%E4%BD%BF%E7%94%A8sidecar%E9%85%8D%E7%BD%AEfilebeat%E6%94%B6%E9%9B%86%E5%AE%B9%E5%99%A8%E6%97%A5%E5%BF%97/</link><pubDate>Wed, 27 Jan 2021 09:37:06 +0000</pubDate><author>hex-py@gmail.com (Hex)</author><atom:modified>Wed, 27 Jan 2021 09:37:06 +0000</atom:modified><guid>https://hex-go.github.io/posts/kubernetes/2021-01-27-kubernetes-%E4%BD%BF%E7%94%A8sidecar%E9%85%8D%E7%BD%AEfilebeat%E6%94%B6%E9%9B%86%E5%AE%B9%E5%99%A8%E6%97%A5%E5%BF%97/</guid><description>重要 K8s 中收集容器日志有两种模式： 模式 原理 优缺点 DaemonSet 每个 Node 部署一个日志采集 Pod，读 /var/log/containers 运维简单，但不支持自定义日志路径 Sidecar 在业务 Pod 内嵌入日志采集容</description><dc:creator>Hex</dc:creator><category>Kubernetes</category><category>Filebeat</category><category>Sidecar</category><category>日志</category><category>Kubernetes</category></item></channel></rss>