Skip to content

Commit

Permalink
Adding initial fluentbit helm chart (rackerlabs#98)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Blumentritt <[email protected]>
  • Loading branch information
cblument authored Feb 27, 2024
1 parent 130cc67 commit 0773129
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
7 changes: 7 additions & 0 deletions helm-configs/fluentbit/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Install the fluentbit helm chart

```
helm repo add fluent https://fluent.github.io/helm-charts
helm repo update`
helm install --values fluentbit-helm-overrides.yaml fluentbit fluent/fluent-bit
```
45 changes: 45 additions & 0 deletions helm-configs/fluentbit/fluentbit-helm-overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
daemonSetVolumes:
- name: varlog
hostPath:
path: /var/log
- name: varlibdockercontainers
hostPath:
path: /var/lib/docker/containers
- name: etcmachineid
hostPath:
path: /etc/machine-id
type: File
- name: varlogcontainers
hostPath:
path: /var/log/containers
daemonSetVolumeMounts:
- name: varlog
mountPath: /var/log
- name: varlibdockercontainers
mountPath: /var/lib/docker/containers
readOnly: true
- name: etcmachineid
mountPath: /etc/machine-id
readOnly: true
- name: varlogcontainers
mountPath: /var/log/containers
readOnly: true
config:
outputs: |
[OUTPUT]
Name loki
Match kube.*
Host loki-gateway.grafana.svc.cluster.local
Port 80
Retry_Limit False
labels job=fluentbit
auto_kubernetes_labels on
[OUTPUT]
Name loki
Match host.*
Host loki-gateway.grafana.svc.cluster.local
Port 80
Retry_Limit False
labels job=fluentbit
auto_kubernetes_labels on

0 comments on commit 0773129

Please sign in to comment.