fluent / fluent-bit-kubernetes-logging

Fluent Bit Kubernetes Daemonset
Apache License 2.0
468 stars 248 forks source link

Not able to access fluent-bit metrics #65

Open rajputvishwas opened 4 years ago

rajputvishwas commented 4 years ago

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