docs/vmagent.md: make filtering rules for init container pods less confusing

This commit is contained in:
Aliaksandr Valialkin 2020-07-14 20:32:47 +03:00
parent 74fb0b293d
commit e6d96bb0bd
2 changed files with 4 additions and 4 deletions

View File

@ -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
```

View File

@ -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
```