mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 00:13:30 +01:00
docs/vmagent.md: make filtering rules for init container pods less confusing
This commit is contained in:
parent
74fb0b293d
commit
e6d96bb0bd
@ -236,9 +236,9 @@ either via `vmagent` itself or via Prometheus, so the exported metrics could be
|
||||
|
||||
The following relabeling rule may be added to `relabel_configs` section in order to filter out init container pods:
|
||||
```yml
|
||||
- action: keep
|
||||
- action: drop
|
||||
source_labels: [__meta_kubernetes_pod_container_init]
|
||||
regex: false
|
||||
regex: true
|
||||
```
|
||||
|
||||
|
||||
|
@ -236,9 +236,9 @@ either via `vmagent` itself or via Prometheus, so the exported metrics could be
|
||||
|
||||
The following relabeling rule may be added to `relabel_configs` section in order to filter out init container pods:
|
||||
```yml
|
||||
- action: keep
|
||||
- action: drop
|
||||
source_labels: [__meta_kubernetes_pod_container_init]
|
||||
regex: false
|
||||
regex: true
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user