fluent bit config fix

This commit is contained in:
Danijel Simeunovic
2026-02-13 13:07:54 +01:00
parent 5437af59d3
commit 370261fe58
2 changed files with 11 additions and 24 deletions

View File

@@ -45,11 +45,20 @@ config:
outputs: |
[OUTPUT]
Name loki
Match *
Match kube.*
Host loki-gateway.monitoring.svc.cluster.local
Port 80
Labels job=fluent-bit
Auto_Kubernetes_Labels On
Label_Keys $kubernetes['namespace_name'],$kubernetes['pod_name'],$kubernetes['container_name']
Line_Format json
[OUTPUT]
Name loki
Match host.*
Host loki-gateway.monitoring.svc.cluster.local
Port 80
Labels job=fluent-bit-systemd
Line_Format json
tolerations:
- key: node-role.kubernetes.io/control-plane