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 章 Configuring your cluster logging deployment
3.1. About the Cluster Logging custom resource 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
To configure OpenShift Container Platform cluster logging, you customize the ClusterLogging
custom resource (CR).
3.1.1. About the ClusterLogging custom resource 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
To make changes to your cluster logging environment, create and modify the ClusterLogging
custom resource (CR).
Instructions for creating or modifying a CR are provided in this documentation as appropriate.
The following is an example of a typical custom resource for cluster logging.
Sample ClusterLogging
custom resource (CR)
- 1
- The CR name must be
instance
. - 2
- The CR must be installed to the
openshift-logging
namespace. - 3
- The Cluster Logging Operator management state. When set to
unmanaged
the operator is in an unsupported state and will not get updates. - 4
- Settings for the log store, including retention policy, the number of nodes, the resource requests and limits, and the storage class.
- 5
- Settings for the visualizer, including the resource requests and limits, and the number of pod replicas.
- 6
- Settings for curation, including the resource requests and limits, and curation schedule.
- 7
- Settings for the log collector, including the resource requests and limits.