Skip to content

Commit 2c4024b

Browse files
committed
chore(fluentbit): limit log scope
1 parent 13dabfe commit 2c4024b

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

charts/fluentbit/templates/logger-fluentbit-daemon.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@ spec:
2020
heritage: drycc
2121
app: drycc-logger-fluentbit
2222
spec:
23-
affinity:
24-
podAffinity:
25-
requiredDuringSchedulingIgnoredDuringExecution:
26-
- labelSelector:
27-
matchLabels:
28-
app.kubernetes.io/name: controller
29-
topologyKey: kubernetes.io/hostname
3023
serviceAccount: drycc-logger-fluentbit
3124
initContainers:
3225
- name: drycc-logger-fluentbit-init

charts/fluentbit/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ config:
4040
inputs: |
4141
[INPUT]
4242
Name tail
43-
Path /var/log/containers/*.log
43+
Path /var/log/containers/*_{{ .Release.Namespace }}_*.log
4444
DB /var/log/containers.pos.db
4545
DB.locking true
4646
Offset_Key offset

0 commit comments

Comments
 (0)