Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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