CPU and memory requirements
The resource requirements and limits of your Logging operator deployment must match the size of your cluster and the logging workloads. By default, the Logging operator uses the following configuration.
-
For Fluent Bit:
- Limits: - cpu: 200m - memory: 100M - Requests: - cpu: 100m - memory: 50M
-
For Fluentd and syslog-ng:
- Limits: - cpu: 1000m - memory: 400M - Requests: - cpu: 500m - memory: 100M
You can adjust these values in the Logging custom resource, for example:
apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging
metadata:
name: default-logging
namespace: logging
spec:
fluentd:
resources:
requests:
cpu: 1
memory: 1Gi
limits:
cpu: 2
memory: 2Gi
fluentbit:
resources:
requests:
cpu: 500m
memory: 500M
limits:
cpu: 1
memory: 1Gi
syslogNG:
resources:
requests:
cpu: 500m
memory: 500M
limits:
cpu: 1
memory: 1Gi
Last modified April 25, 2024: Merge e1b1b8506276939f6fceb1f8f25fd6c133338833 into 091fab505592039a23941d8b134eab1367862eb8 (76e933a)