fluent-operator icon indicating copy to clipboard operation
fluent-operator copied to clipboard

bug: Operator OOMKilled

Open xolott opened this issue 2 years ago • 6 comments

Describe the issue

The operator is constantly killed because of OOM issues. I upgraded the chart release increasing the memory limit to 100Mi. So far it's working

To Reproduce

Just install the operator and wait a few minutes

Expected behavior

It should work as usual

Your Environment

- Fluent Operator version: 2.2.0
- Container Runtime: containerd
- Operating system: Ubuntu (Azure provided)
- Kernel version: (Azure provided)

How did you install fluent operator?

Helm chart

Additional context

No response

xolott avatar Jun 05 '23 18:06 xolott

@wenchajun Have you ever had this problem?

benjaminhuo avatar Jun 06 '23 02:06 benjaminhuo

@wenchajun Have you ever had this problem?

I don't have this problem on my machine, but with the addition of the fluent-operator feature, I think it's possible to increase the container limit. https://github.com/fluent/fluent-operator/blob/master/charts/fluent-operator/values.yaml#LL32C1-L32C1

wenchajun avatar Jun 06 '23 02:06 wenchajun

@xolott to reduce memory consumption, you can disable fluentd or fluentbit controller if you don't use it

image helm install fluent-operator --create-namespace -n fluent charts/fluent-operator/ --set operator.disableComponentControllers=fluent-bit,fluent-bit.crdsEnable=false

benjaminhuo avatar Jun 06 '23 03:06 benjaminhuo

I'm using both @benjaminhuo

So far, the operator is working fine with the limit change to 100Mi

xolott avatar Jun 06 '23 18:06 xolott

using Azure AKS 1.27 got the same OOM kill event for fluent operator 2.7.0

engin avatar Mar 14 '24 12:03 engin

@xolott to reduce memory consumption, you can disable fluentd or fluentbit controller if you don't use it

image helm install fluent-operator --create-namespace -n fluent charts/fluent-operator/ --set operator.disableComponentControllers=fluent-bit,fluent-bit.crdsEnable=false

@engin You can follow the same step

benjaminhuo avatar Mar 15 '24 03:03 benjaminhuo