You can specify the schedule for Curator using the cluster logging Custom Resource created by the cluster logging installation.
Prerequisites
-
Cluster logging and Elasticsearch must be installed.
Procedure
To configure the Curator schedule:
-
Edit the Cluster Logging Custom Resource in the
openshift-logging
project:$ oc edit clusterlogging instance
apiVersion: "logging.openshift.io/v1" kind: "ClusterLogging" metadata: name: "instance" ... curation: curator: schedule: 30 3 * * * (1) type: curator
-
Specify the schedule for Curator in cron format.
NoteThe time zone is set based on the host node where the Curator pod runs.
-