fix: update labels for Fluent Bit resources to ensure correct identification

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-04-16 00:46:39 +08:00
parent b735ea1e0c
commit decca8e7a1
2 changed files with 2 additions and 17 deletions

View File

@ -73,18 +73,6 @@ spec:
disableBufferVolume: true
---
apiVersion: fluentd.fluent.io/v1alpha1
kind: ClusterInput
metadata:
name: fluentd-receiver
labels:
fluentd-default-input: "true"
spec:
inputs:
- forward:
bind: 0.0.0.0
port: 24224
---
apiVersion: fluentd.fluent.io/v1alpha1
kind: ClusterFilter
metadata:
name: fluentd-metadata-appender
@ -120,7 +108,4 @@ spec:
clusterOutputSelector:
matchLabels:
fluentd-default-output: "true"
clusterInputSelector:
matchLabels:
fluentd-default-input: "true"
---

View File

@ -28,7 +28,7 @@ metadata:
name: {{ .Release.Name }}-log-parser
namespace: freeleaps-logging-system
labels:
app.kubernetes.io/name: {{ .Release.Name }}-log-collector
app.kubernetes.io/name: {{ .Release.Name }}-log-parser
fluentbit.fluent.io/enabled: "true"
spec:
json:
@ -41,7 +41,7 @@ metadata:
name: {{ .Release.Name }}-log-output
namespace: freeleaps-logging-system
labels:
app.kubernetes.io/name: {{ .Release.Name }}-log-collector
app.kubernetes.io/name: {{ .Release.Name }}-log-output
fluentbit.fluent.io/enabled: "true"
spec:
match: "*"