forked from rackerlabs/genestack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding initial fluentbit helm chart (rackerlabs#98)
Signed-off-by: Chris Blumentritt <[email protected]>
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |