Skip to content

Commit e537603

Browse files
committed
fluentbit: add multi-fluentbit sample
Signed-off-by: Peter Wilcsinszky <[email protected]>
1 parent bd76c8f commit e537603

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

config/samples/fluentbit-multi.yaml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
apiVersion: logging.banzaicloud.io/v1beta1
2+
kind: Logging
3+
metadata:
4+
name: multi
5+
spec:
6+
fluentd: {}
7+
# # the legacy fluentbit spec should now be used separately
8+
# fluentbit:
9+
# positiondb:
10+
# hostPath:
11+
# path: ""
12+
# bufferStorageVolume:
13+
# hostPath:
14+
# path: ""
15+
controlNamespace: default
16+
---
17+
apiVersion: logging.banzaicloud.io/v1beta1
18+
kind: FluentbitAgent
19+
metadata:
20+
# important to use the same name as the logging agent does
21+
name: multi
22+
spec:
23+
positiondb:
24+
hostPath:
25+
path: ""
26+
bufferStorageVolume:
27+
hostPath:
28+
path: ""
29+
---
30+
apiVersion: logging.banzaicloud.io/v1beta1
31+
kind: FluentbitAgent
32+
metadata:
33+
name: multi-2
34+
spec:
35+
positiondb:
36+
hostPath:
37+
path: ""
38+
bufferStorageVolume:
39+
hostPath:
40+
path: ""
41+
---
42+
apiVersion: logging.banzaicloud.io/v1beta1
43+
kind: Flow
44+
metadata:
45+
name: all
46+
spec:
47+
filters:
48+
- stdout: {}
49+
match:
50+
- select: {}
51+
localOutputRefs:
52+
- "null"
53+
---
54+
apiVersion: logging.banzaicloud.io/v1beta1
55+
kind: Output
56+
metadata:
57+
name: "null"
58+
spec:
59+
nullout: {}

0 commit comments

Comments
 (0)