Skip to content

Commit 091fab5

Browse files
Merge pull request #237 from ankitgyawali/patch-1
Update fluentbit.md
2 parents ca716bf + 1fc953b commit 091fab5

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

content/docs/logging-infrastructure/fluentbit.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,21 @@ To migrate your **spec.fluentbit** configuration from the Logging resource to a
3636

3737
```yaml
3838
apiVersion: logging.banzaicloud.io/v1beta1
39-
kind: FluentbitAgent
39+
kind: Logging
4040
metadata:
41-
name: example
41+
name: example-logging-resource
4242
spec:
43-
inputTail:
44-
storage.type: filesystem
45-
positiondb:
46-
hostPath:
47-
path: ""
48-
bufferStorageVolume:
49-
hostPath:
50-
path: ""
51-
controlNamespace: default
43+
controlNamespace: default
44+
fluentbit:
45+
inputTail:
46+
storage.type: filesystem
47+
positiondb:
48+
hostPath:
49+
path: ""
50+
bufferStorageVolume:
51+
hostPath:
52+
path: ""
53+
5254
```
5355

5456
1. Create a new FluentbitAgent CRD. For the value of **metadata.name**, use the name of the Logging resource, for example:

0 commit comments

Comments
 (0)