You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sources/reference/components/loki.source.podlogs.md
+5-10Lines changed: 5 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,12 @@ title: loki.source.podlogs
6
6
7
7
# loki.source.podlogs
8
8
9
-
`loki.source.podlogs` discovers `PodLogs` resources on Kubernetes and, using
10
-
the Kubernetes API, tails logs from Kubernetes containers of Pods specified by
11
-
the discovered them.
9
+
`loki.source.podlogs` discovers `PodLogs` resources on Kubernetes.
10
+
The `PodLogs` resources provide rules for which Kubernetes Pods to discover on your cluster.
12
11
13
-
`loki.source.podlogs` is similar to `loki.source.kubernetes`, but uses custom
14
-
resources rather than being fed targets from another component.
12
+
`loki.source.podlogs` uses the Kubernetes API to tail the logs from the discovered Kubernetes Pods.
15
13
16
-
{{< admonition type="note" >}}
17
-
Unlike `loki.source.kubernetes`, it is not possible to distribute responsibility of collecting logs across multiple {{< param "PRODUCT_NAME" >}}s.
18
-
To avoid collecting duplicate logs, only one {{< param "PRODUCT_NAME" >}} should be running a `loki.source.podlogs` component.
19
-
{{< /admonition >}}
14
+
`loki.source.podlogs` is similar to `loki.source.kubernetes`, but uses custom resources rather than being fed targets from another component.
20
15
21
16
{{< admonition type="note" >}}
22
17
Because `loki.source.podlogs` uses the Kubernetes API to tail logs, it uses more network traffic and CPU consumption of Kubelets than `loki.source.file`.
0 commit comments