fix: add ClusterInput configuration for Fluent Bit log collection
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
cf83b661d1
commit
f36a87eaca
@ -50,6 +50,17 @@ spec:
|
||||
port: 24224
|
||||
---
|
||||
apiVersion: fluentbit.fluent.io/v1alpha2
|
||||
kind: ClusterInput
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-log-collector-input
|
||||
labels:
|
||||
fluentbit.fluent.io/enabled: "true"
|
||||
spec:
|
||||
tail:
|
||||
path: {{ .Values.fluentbit.logPath | quote }}
|
||||
parser: {{ .Release.Name }}-log-parser
|
||||
---
|
||||
apiVersion: fluentbit.fluent.io/v1alpha2
|
||||
kind: FluentBitConfig
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-log-collector-config
|
||||
@ -66,15 +77,4 @@ spec:
|
||||
parserSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: {{ .Release.Name }}-log-collector
|
||||
---
|
||||
apiVersion: fluentbit.fluent.io/v1alpha2
|
||||
kind: ClusterInput
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-log-collector-input
|
||||
labels:
|
||||
fluentbit.fluent.io/enabled: "true"
|
||||
spec:
|
||||
tail:
|
||||
path: {{ .Values.fluentbit.logPath | quote }}
|
||||
parser: {{ .Release.Name }}-log-parser
|
||||
{{- end }}
|
||||
Loading…
Reference in New Issue
Block a user