Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #43
Browse files Browse the repository at this point in the history
  • Loading branch information
kchenye-bitgo committed Oct 29, 2021
2 parents 9180fef + 1faae70 commit 225d1b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions promtail/files/promtail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ scrape_configs:
source_labels:
- __meta_kubernetes_pod_label_app_kubernetes_io_name
- __meta_kubernetes_pod_label_app
# Drop pods that have no controller
- action: drop
regex: ''
source_labels:
- __meta_kubernetes_pod_controller_name
# Drop pods that have an indirect controller
- action: drop
regex: '[0-9a-z-.]+-[0-9a-f]{8,10}'
source_labels:
Expand Down

0 comments on commit 225d1b8

Please sign in to comment.