Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 935 Bytes

cluster-logging-curator-schedule.adoc

File metadata and controls

44 lines (35 loc) · 935 Bytes

Configuring the Curator schedule

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:

  1. 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
    1. Specify the schedule for Curator in cron format.

      Note

      The time zone is set based on the host node where the Curator pod runs.