본문으로 건너뛰기

Fluentd 설치 가이드

정보

Fluentd 개요 문서에서 기본 파이프라인과 설정 모델을 먼저 확인할 수 있습니다.

설치

References
helm repo add fluent https://fluent.github.io/helm-charts
helm repo update fluent \
&& helm search repo fluent/fluentd -l | head -n 10
helm show values fluent/fluentd \
--version 0.3.9 \
> fluentd-values.yaml
fluentd-values.yaml
kind: "DaemonSet" # DaemonSet, Deployment or StatefulSet

livenessProbe:
httpGet:
path: /metrics
port: metrics
initialDelaySeconds: 30
timeoutSeconds: 15

readinessProbe:
httpGet:
path: /metrics
port: metrics
initialDelaySeconds: 30
timeoutSeconds: 15

resources:
requests:
cpu: 100m
memory: 512Mi
limits:
memory: 512Mi

podLabels: {}

env:
- # /fluentd/etc/../../etc/fluent/fluent.conf
# /etc/fluent/fluent.conf
name: "FLUENTD_CONF"
value: "../../etc/fluent/fluent.conf"

dashboards:
enabled: "false"

plugins: []

configMapConfigs: []

fileConfigs:
01_sources.conf: |

02_filters.conf: |

03_dispatch.conf: |

04_outputs.conf: |
helm upgrade -i fluentd fluent/fluentd \
--version 0.3.9 \
-n monitoring \
--history-max 5 \
-f fluentd-values.yaml