Add more promtail filtering

This commit is contained in:
Marcus Noble 2021-11-27 21:10:14 +00:00
parent 769fdff851
commit c676fad20a

View File

@ -79,12 +79,18 @@ data:
- match: - match:
selector: '{name=~".*"} |~ ".*/healthz.*"' selector: '{name=~".*"} |~ ".*/healthz.*"'
action: drop action: drop
- match:
selector: '{name=~".*"} |~ ".*/api/health.*"'
action: drop
- match: - match:
selector: '{name=~".*"} |~ ".*kube-probe/.*"' selector: '{name=~".*"} |~ ".*kube-probe/.*"'
action: drop action: drop
- match: - match:
selector: '{app="internal-proxy"}' selector: '{app="internal-proxy"}'
action: drop action: drop
- match:
selector: '{app="promtail"}'
action: drop
kubernetes_sd_configs: kubernetes_sd_configs:
- role: pod - role: pod
relabel_configs: relabel_configs: