fluent-bit-kubernetes-logging icon indicating copy to clipboard operation
fluent-bit-kubernetes-logging copied to clipboard

Not able to access fluent-bit metrics

Open rajputvishwas opened this issue 5 years ago • 0 comments
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:

  1. Create service account

oc create -f fluentbit-sa.yaml

  1. create role

oc create -f fluentbit-role.yaml

  1. create role binding

oc create -f fluentbit-rb.yaml

  1. create config map oc create -f fluentbit-configmap.yaml

  2. create application

oc new-app --docker-image=fluent/fluent-bit:latest -e FLUENT_ELASTICSEARCH_HOST=172.17.0.9 -e FLUENT_ELASTICSEARCH_PORT=9200

fluent-bit.zip

rajputvishwas avatar Jan 06 '20 04:01 rajputvishwas