Each component specification allows for adjustments to both the CPU and memory limits.
Procedure
-
Edit the Cluster Logging Custom Resource (CR) in the
openshift-logging
project:$ oc edit ClusterLogging instance
apiVersion: "logging.openshift.io/v1" kind: "ClusterLogging" metadata: name: "instance" .... spec: visualization: type: "kibana" kibana: replicas: resources: (1) limits: memory: 1Gi requests: cpu: 500m memory: 1Gi proxy: (2) resources: limits: memory: 100Mi requests: cpu: 100m memory: 100Mi
-
Specify the CPU and memory limits to allocate for each node.
-
Specify the CPU and memory limits to allocate to the Kibana proxy.
-