Skip to content

PG_LOG removal - best practices? #1579

Open
@mgorsk1

Description

@mgorsk1

Please, answer some short questions which should help us to understand your problem / question better?

  • Which image of the operator are you using? e.g. registry.opensource.zalan.do/acid/postgres-operator:v1.6.3
  • **Where do you run it - cloud or metal? Bare Metal K8s
  • Are you running Postgres Operator in production? yes
  • Type of issue? question

We are deploying postgresql clusters on production using zalando postgres-operator. What we are curious about is what is the recommended way of removing older logs from pg_log directory? In our case we are mounting 32GB PVC and it gets filled within 2-3 days up to 100% which makes the db unusable. I didn't find anywhere in the settings a way to remove older logs, just to truncate them which means it would still grow continously.

Metadata

Metadata

Assignees

No one assigned

    Labels

    postgresIssue more related to PostgreSQLquestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions