This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.3.6. Configuring CPU and memory limits for cluster logging components
You can configure both the CPU and memory limits for each of the cluster logging components as needed.
3.6.1. Configuring CPU and memory limits 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
The cluster logging components allow for adjustments to both the CPU and memory limits.
Procedure
Edit the
ClusterLogging
custom resource (CR) in theopenshift-logging
project:oc edit ClusterLogging instance -n openshift-logging
$ oc edit ClusterLogging instance -n openshift-logging
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 1
- Specify the CPU and memory limits and requests for the log store as needed. For Elasticsearch, you must adjust both the request value and the limit value.
- 2 3
- Specify the CPU and memory limits and requests for the log visualizer as needed.
- 4
- Specify the CPU and memory limits and requests for the log curator as needed.
- 5
- Specify the CPU and memory limits and requests for the log collector as needed.