Skip to content

Commit 2c7da5a

Browse files
committed
feat: make fluentbit pause on chunks overlimit configurable
Signed-off-by: Bence Csati <bence.csati@axoflow.com>
1 parent 3354f9a commit 2c7da5a

14 files changed

+45
-9
lines changed

charts/logging-operator/charts/logging-operator-crds/templates/logging.banzaicloud.io_fluentbitagents.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,8 @@ spec:
15871587
items:
15881588
type: string
15891589
type: array
1590+
storage.pause_on_chunks_overlimit:
1591+
type: string
15901592
storage.type:
15911593
type: string
15921594
type: object

charts/logging-operator/charts/logging-operator-crds/templates/logging.banzaicloud.io_loggings.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2429,6 +2429,8 @@ spec:
24292429
items:
24302430
type: string
24312431
type: array
2432+
storage.pause_on_chunks_overlimit:
2433+
type: string
24322434
storage.type:
24332435
type: string
24342436
type: object
@@ -11779,6 +11781,8 @@ spec:
1177911781
items:
1178011782
type: string
1178111783
type: array
11784+
storage.pause_on_chunks_overlimit:
11785+
type: string
1178211786
storage.type:
1178311787
type: string
1178411788
type: object

charts/logging-operator/charts/logging-operator-crds/templates/logging.banzaicloud.io_nodeagents.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4066,6 +4066,8 @@ spec:
40664066
items:
40674067
type: string
40684068
type: array
4069+
storage.pause_on_chunks_overlimit:
4070+
type: string
40694071
storage.type:
40704072
type: string
40714073
type: object

charts/logging-operator/crds/logging.banzaicloud.io_fluentbitagents.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,6 +1584,8 @@ spec:
15841584
items:
15851585
type: string
15861586
type: array
1587+
storage.pause_on_chunks_overlimit:
1588+
type: string
15871589
storage.type:
15881590
type: string
15891591
type: object

charts/logging-operator/crds/logging.banzaicloud.io_loggings.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2426,6 +2426,8 @@ spec:
24262426
items:
24272427
type: string
24282428
type: array
2429+
storage.pause_on_chunks_overlimit:
2430+
type: string
24292431
storage.type:
24302432
type: string
24312433
type: object
@@ -11776,6 +11778,8 @@ spec:
1177611778
items:
1177711779
type: string
1177811780
type: array
11781+
storage.pause_on_chunks_overlimit:
11782+
type: string
1177911783
storage.type:
1178011784
type: string
1178111785
type: object

charts/logging-operator/crds/logging.banzaicloud.io_nodeagents.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4063,6 +4063,8 @@ spec:
40634063
items:
40644064
type: string
40654065
type: array
4066+
storage.pause_on_chunks_overlimit:
4067+
type: string
40664068
storage.type:
40674069
type: string
40684070
type: object

config/crd/bases/logging.banzaicloud.io_fluentbitagents.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,6 +1584,8 @@ spec:
15841584
items:
15851585
type: string
15861586
type: array
1587+
storage.pause_on_chunks_overlimit:
1588+
type: string
15871589
storage.type:
15881590
type: string
15891591
type: object

config/crd/bases/logging.banzaicloud.io_loggings.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2426,6 +2426,8 @@ spec:
24262426
items:
24272427
type: string
24282428
type: array
2429+
storage.pause_on_chunks_overlimit:
2430+
type: string
24292431
storage.type:
24302432
type: string
24312433
type: object
@@ -11776,6 +11778,8 @@ spec:
1177611778
items:
1177711779
type: string
1177811780
type: array
11781+
storage.pause_on_chunks_overlimit:
11782+
type: string
1177911783
storage.type:
1178011784
type: string
1178111785
type: object

config/crd/bases/logging.banzaicloud.io_nodeagents.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4063,6 +4063,8 @@ spec:
40634063
items:
40644064
type: string
40654065
type: array
4066+
storage.pause_on_chunks_overlimit:
4067+
type: string
40664068
storage.type:
40674069
type: string
40684070
type: object

docs/configuration/crds/v1beta1/fluentbit_types.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,12 @@ When a monitored file reach it buffer capacity due to a very long line (Buffer_M
560560

561561
Default: Off
562562

563+
### storage.pause_on_chunks_overlimit (string, optional) {#inputtail-storage.pause_on_chunks_overlimit}
564+
565+
Specifies whether to pause or drop data when the buffer is full. This helps to make sure we apply backpressure on the input if enabled, see https://docs.fluentbit.io/manual/administration/backpressure
566+
567+
Default: on
568+
563569
### storage.type (string, optional) {#inputtail-storage.type}
564570

565571
Specify the buffering mechanism to use. It can be memory or filesystem.

0 commit comments

Comments
 (0)