fluent-bit-kubernetes-logging
fluent-bit-kubernetes-logging copied to clipboard
Not able to access fluent-bit metrics
trafficstars
Hi,
I want to deploy fluent-bit on OKD 3.11 all in one cluster. The deployment creates pod successfully and does show logs on pod console. But when I attempt to access metrics using curl or web browser it shows nothing. It ends up with an error message pod is not running or application is not running.
Replicate the issue:
- Create service account
oc create -f fluentbit-sa.yaml
- create role
oc create -f fluentbit-role.yaml
- create role binding
oc create -f fluentbit-rb.yaml
-
create config map oc create -f fluentbit-configmap.yaml
-
create application
oc new-app --docker-image=fluent/fluent-bit:latest -e FLUENT_ELASTICSEARCH_HOST=172.17.0.9 -e FLUENT_ELASTICSEARCH_PORT=9200