Skip to content

Commit 1667be7

Browse files
clayton-cornellhainenber
authored andcommitted
Remove stale note in loki.source.podlogs (grafana#706)
* Remove stale Note and minor tidy * Remove stale note * Update intro text
1 parent 8ff3e19 commit 1667be7

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

docs/sources/reference/components/loki.source.podlogs.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,12 @@ title: loki.source.podlogs
66

77
# loki.source.podlogs
88

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.
1211

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.
1513

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.
2015

2116
{{< admonition type="note" >}}
2217
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`.
@@ -127,7 +122,7 @@ selector | [selector][] | Label selector fo
127122
selector > match_expression | [match_expression][] | Label selector expression for which `PodLogs` to discover. | no
128123
namespace_selector | [selector][] | Label selector for which namespaces to discover `PodLogs` in. | no
129124
namespace_selector > match_expression | [match_expression][] | Label selector expression for which namespaces to discover `PodLogs` in. | no
130-
clustering | [clustering][] | Configure the component for when {{< param "PRODUCT_NAME" >}} is running in clustered mode. | no
125+
clustering | [clustering][] | Configure the component for when {{< param "PRODUCT_NAME" >}} is running in clustered mode. | no
131126

132127
The `>` symbol indicates deeper levels of nesting.
133128
For example, `client > basic_auth` refers to a `basic_auth` block defined inside a `client` block.

0 commit comments

Comments
 (0)