From 370261fe58d54f23270a337e52d7e59bbcda5748 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Fri, 13 Feb 2026 13:07:54 +0100 Subject: [PATCH] fluent bit config fix --- cluster-resources/sync-notification.yaml | 22 ---------------------- infra/values/fluent-bit-values.yaml | 13 +++++++++++-- 2 files changed, 11 insertions(+), 24 deletions(-) delete mode 100644 cluster-resources/sync-notification.yaml diff --git a/cluster-resources/sync-notification.yaml b/cluster-resources/sync-notification.yaml deleted file mode 100644 index 401dea7..0000000 --- a/cluster-resources/sync-notification.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - generateName: app-slack-notification- - annotations: - argocd.argoproj.io/hook: PostSync - argocd.argoproj.io/hook-delete-policy: HookSucceeded -spec: - template: - spec: - containers: - - name: slack-notification - image: curlimages/curl - command: - - curl - - '-X' - - POST - - '--data' - - '{"payload": "Cluster resources updated"}' - - 'https://hooks.slack.com/triggers/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' - restartPolicy: Never - backoffLimit: 2 diff --git a/infra/values/fluent-bit-values.yaml b/infra/values/fluent-bit-values.yaml index 06e5d53..e9a7ce2 100644 --- a/infra/values/fluent-bit-values.yaml +++ b/infra/values/fluent-bit-values.yaml @@ -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