From 1fc953b34d9204f6c350c36ec55ce6040f300241 Mon Sep 17 00:00:00 2001 From: Ankit Gyawali Date: Mon, 15 Apr 2024 10:55:34 -0400 Subject: [PATCH] Update fluentbit.md Signed-off-by: Ankit Gyawali --- .../docs/logging-infrastructure/fluentbit.md | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/content/docs/logging-infrastructure/fluentbit.md b/content/docs/logging-infrastructure/fluentbit.md index ffd083f8e..c55ed6f92 100644 --- a/content/docs/logging-infrastructure/fluentbit.md +++ b/content/docs/logging-infrastructure/fluentbit.md @@ -36,19 +36,21 @@ To migrate your **spec.fluentbit** configuration from the Logging resource to a ```yaml apiVersion: logging.banzaicloud.io/v1beta1 - kind: FluentbitAgent + kind: Logging metadata: - name: example + name: example-logging-resource spec: - inputTail: - storage.type: filesystem - positiondb: - hostPath: - path: "" - bufferStorageVolume: - hostPath: - path: "" - controlNamespace: default + controlNamespace: default + fluentbit: + inputTail: + storage.type: filesystem + positiondb: + hostPath: + path: "" + bufferStorageVolume: + hostPath: + path: "" + ``` 1. Create a new FluentbitAgent CRD. For the value of **metadata.name**, use the name of the Logging resource, for example: