diff --git a/common/playbooks/templates/fluent-bit.yaml.j2 b/common/playbooks/templates/fluent-bit.yaml.j2 index e16921d6c2490a64a54080740000f5037ce00a4e..5c89537b70979bc1f2641a3a42c2898f7903fccc 100644 --- a/common/playbooks/templates/fluent-bit.yaml.j2 +++ b/common/playbooks/templates/fluent-bit.yaml.j2 @@ -105,6 +105,12 @@ extraVolumeMounts: mountPath: "/secrets" {% endif %} +service: + annotations: + prometheus.io/path: "/api/v1/metrics/prometheus" + prometheus.io/port: "2020" + prometheus.io/scrape: "true" + # daemonset runnable on control plane nodes tolerations: - key: node-role.kubernetes.io/control-plane