Skip to content

monitoring: add s3 retention policy

Pablo Vigo Mas requested to merge wip/pvigo/s3-bucket into main

Loki configuration was not running any log retention and the Object Storage is increasing without limits.

Now log retention is set for 6 months in the Apertis cluster and 1 month for the Development cluster.

Each time the retention configuration is executed, Ansible reports a change even if no actual changes are made:

  new_rule:
    Expiration:
      Days: 30
    Filter:
      Prefix: ''
    ID: Expiration
    Status: Enabled
  old_rules:
  - Expiration:
      Days: 30
    ID: Expiration
    Prefix: ''
    Status: Enabled
  rules:
  - Expiration:
      Days: 30
    ID: Expiration
    Prefix: ''
    Status: Enabled

Phabricator Task: T10835

Signed-off-by: Pablo Vigo pvigo@collabora.com

Merge request reports

Loading