fbvals
This commit is contained in:
@@ -42,13 +42,6 @@ config:
|
|||||||
K8S-Logging.Parser On
|
K8S-Logging.Parser On
|
||||||
K8S-Logging.Exclude On
|
K8S-Logging.Exclude On
|
||||||
|
|
||||||
[FILTER]
|
|
||||||
Name nest
|
|
||||||
Match kube.*
|
|
||||||
Operation lift
|
|
||||||
Nested_under kubernetes
|
|
||||||
Add_prefix kubernetes_
|
|
||||||
|
|
||||||
outputs: |
|
outputs: |
|
||||||
[OUTPUT]
|
[OUTPUT]
|
||||||
Name loki
|
Name loki
|
||||||
@@ -56,7 +49,7 @@ config:
|
|||||||
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
|
||||||
Label_Keys kubernetes_namespace_name,kubernetes_pod_name,kubernetes_container_name
|
Label_Map_Path /fluent-bit/etc/labelmap.json
|
||||||
Line_Format json
|
Line_Format json
|
||||||
|
|
||||||
[OUTPUT]
|
[OUTPUT]
|
||||||
@@ -67,6 +60,16 @@ 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
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
|||||||
Reference in New Issue
Block a user