diff --git a/production/helm/fluent-bit/Chart.yaml b/production/helm/fluent-bit/Chart.yaml index 7c6908748b683..89f850d1d225f 100644 --- a/production/helm/fluent-bit/Chart.yaml +++ b/production/helm/fluent-bit/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: "v1" name: fluent-bit -version: 0.1.0 +version: 0.1.1 appVersion: v1.4.1 kubeVersion: "^1.10.0-0" description: "Uses fluent-bit Loki go plugin for gathering logs and sending them to Loki" diff --git a/production/helm/fluent-bit/templates/configmap.yaml b/production/helm/fluent-bit/templates/configmap.yaml index 21fa06421a7a0..85f82e0e43b53 100644 --- a/production/helm/fluent-bit/templates/configmap.yaml +++ b/production/helm/fluent-bit/templates/configmap.yaml @@ -11,6 +11,9 @@ metadata: data: fluent-bit.conf: |- [SERVICE] + HTTP_Server On + HTTP_Listen 0.0.0.0 + HTTP_PORT {{ .Values.config.port }} Flush 1 Daemon Off Log_Level {{ .Values.config.loglevel }} diff --git a/production/helm/fluent-bit/templates/servicemonitor.yaml b/production/helm/fluent-bit/templates/servicemonitor.yaml index 5507bb1087bf7..1cfb7a6ed9a07 100644 --- a/production/helm/fluent-bit/templates/servicemonitor.yaml +++ b/production/helm/fluent-bit/templates/servicemonitor.yaml @@ -21,6 +21,7 @@ spec: - {{ .Release.Namespace | quote }} endpoints: - port: http-metrics + path: /api/v1/metrics/prometheus {{- if .Values.serviceMonitor.interval }} interval: {{ .Values.serviceMonitor.interval }} {{- end }}