Closed ghost closed 3 years ago
What's the valid value for host in the loki config section?
host loki.monitoring.svc.cluster.local
I have issue https://github.com/fluent/helm-charts/issues/415 with configuration settings.
kubectl get services -A
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default kubelet ClusterIP None <none> 10250/TCP,10255/TCP,4194/TCP 46m
default kubernetes ClusterIP 10.100.0.1 <none> 443/TCP 5h
fluent-bit fluent-bit-aab8a10b ClusterIP 10.100.187.178 <none> 2020/TCP 72m
fluent-bit loki-backend ClusterIP 10.100.246.54 <none> 3100/TCP,9095/TCP 22m
fluent-bit loki-backend-headless ClusterIP None <none> 3100/TCP,9095/TCP 22m
fluent-bit loki-canary ClusterIP 10.100.59.198 <none> 3500/TCP 22m
fluent-bit loki-gateway ClusterIP 10.100.7.236 <none> 80/TCP 22m
fluent-bit loki-memberlist ClusterIP None <none> 7946/TCP 22m
fluent-bit loki-read ClusterIP 10.100.41.44 <none> 3100/TCP,9095/TCP 22m
fluent-bit loki-read-headless ClusterIP None <none> 3100/TCP,9095/TCP 22m
fluent-bit loki-write ClusterIP 10.100.148.17 <none> 3100/TCP,9095/TCP 22m
fluent-bit loki-write-headless ClusterIP None <none> 3100/TCP,9095/TCP 22m
fluent-bit query-scheduler-discovery ClusterIP None <none> 3100/TCP,9095/TCP 22m
In our Kubernetes cluster we use Fluentbit, Loki and Grafana. Since the fluentbit image 1.6.1 contains a Loki output plugin, we wanted to use the fluentbit image 1.6.1 in the helm chart.
We get the following error message from the fluentbit pod:
2020-10-20T07:55:43.405588570Z Fluent Bit v1.6.0 2020-10-20T07:55:43.405668159Z * Copyright (C) 2019-2020 The Fluent Bit Authors 2020-10-20T07:55:43.405677844Z * Copyright (C) 2015-2018 Treasure Data 2020-10-20T07:55:43.405683483Z * Fluent Bit is a CNCF sub-project under the umbrella of Fluentd 2020-10-20T07:55:43.405688511Z * https://fluentbit.io 2020-10-20T07:55:43.405693483Z 2020-10-20T07:55:43.406466289Z Output plugin 'loki' cannot be loaded 2020-10-20T07:55:43.406488412Z Error: You must specify an output target. Aborting 2020-10-20T07:55:43.406494765Z
Our values.yml looks like this:
I don't quite understand why the log fluentbit says version 1.6.0 although we specified version 1.6.1. In the pod description there is also version 1.6.1. I suspect that this is why it does not recognize the output loki plugin.