We just raised $142 million in our Series D Round! Read About Our Plans for the Future

Fluent Bit Helm Chart for Kubernetes Fluent Bit Helm Chart for Kubernetes

Last Updated: Jun. 21, 2022

To help streamline your Kubernetes monitoring, we created this multi-arch chart to effortlessly create a DaemonSet on your Kubernetes cluster using the Helm Package Manager.

Our Helm chart is open source and you are welcome to review and make suggestions for improvements
here.

Prerequisites

  • Kubernetes 1.20+ with Beta APIs enabled.
  • Helm 2.9+ Package Manager installed (For installation instructions please visit Get Helm!).

Installation

Create a Namespace for the daemonset (in our example we will use: coralogix-logger):

kubectl create namespace coralogix-logger

Create Secret Key

Your secret key can be found in the Coralogix UI in the top of the screen under Data Flow –> API Keys –> Send Your Data

kubectl create secret generic integrations-privatekey \
        -n coralogix-logger \
        --from-literal=PRIVATE_KEY=<send-your-logs-private-key>

Add the Helm Chart Repo

(And run an update to fetch it)

helm repo add coralogix-charts-virtual https://cgx.jfrog.io/artifactory/coralogix-charts-virtual &&
helm repo update

Create An override.yml File

This is where you can override settings like the HTTP endpoint to which we send logs (we added a table of endpoints at the bottom of this manual).

You can also change the dynamic field from which we extract the application and subsystem name or completely override the configuration.

---
#fluentbit-override.yaml:
fluent-bit:
  endpoint: api.coralogix.com
  app_name: kubernetes.namespace_name
  sub_system: kubernetes.container_name
  logLevel: error

Deploy the Chart

helm upgrade fluent-bit-http coralogix-charts-virtual/fluent-bit-http \
  --install \
  --namespace=<your-namespace> \
  -f fluentbit-override.yaml

Remove the Daemonset

helm uninstall fluentd-http \
     -n coralogix-logger

Coralogix Endpoints

RegionLogs Endpoint
EUapi.coralogix.com
EU2api.eu2.coralogix.com
USapi.coralogix.us
SGapi.coralogixsg.com
INapi.app.coralogix.in

On this page