fluentbit fixes
This commit is contained in:
@@ -48,8 +48,7 @@ config:
|
|||||||
Match kube.*
|
Match kube.*
|
||||||
Host loki-gateway.monitoring.svc.cluster.local
|
Host loki-gateway.monitoring.svc.cluster.local
|
||||||
Port 80
|
Port 80
|
||||||
Labels job=fluent-bit
|
Labels job=fluent-bit, namespace=$kubernetes['namespace_name'], pod=$kubernetes['pod_name'], container=$kubernetes['container_name']
|
||||||
Label_Map_Path /fluent-bit/etc/labelmap.json
|
|
||||||
Line_Format json
|
Line_Format json
|
||||||
|
|
||||||
[OUTPUT]
|
[OUTPUT]
|
||||||
@@ -60,15 +59,6 @@ config:
|
|||||||
Labels job=fluent-bit-systemd
|
Labels job=fluent-bit-systemd
|
||||||
Line_Format json
|
Line_Format json
|
||||||
|
|
||||||
extraFiles:
|
|
||||||
labelmap.json: |
|
|
||||||
{
|
|
||||||
"kubernetes": {
|
|
||||||
"namespace_name": "namespace",
|
|
||||||
"pod_name": "pod",
|
|
||||||
"container_name": "container"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: node-role.kubernetes.io/control-plane
|
- key: node-role.kubernetes.io/control-plane
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ loki:
|
|||||||
reject_old_samples_max_age: 168h
|
reject_old_samples_max_age: 168h
|
||||||
ingestion_rate_mb: 10
|
ingestion_rate_mb: 10
|
||||||
ingestion_burst_size_mb: 20
|
ingestion_burst_size_mb: 20
|
||||||
|
max_entry_size: 512000
|
||||||
chunksCache:
|
chunksCache:
|
||||||
enabled: false
|
enabled: false
|
||||||
singleBinary:
|
singleBinary:
|
||||||
|
|||||||
Reference in New Issue
Block a user