Skip to content
Discussion options

You must be logged in to vote

This is what worked for us.

Create a file lifecycle.json:

{
  "Rules": [
    {
      "ID": "expire-objects-after-5-days",
      "Status": "Enabled",
      "Filter": {
        "Prefix": ""
      },
      "Expiration": {
        "Days": 5
      }
    }
  ]
}

Apply the policy:

Bash

~/minio-binaries/mc ilm import local/langfuse < lifecycle.json

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@weicheng59
Comment options

@maxdeichmann
Comment options

@iRyanRib
Comment options

@weicheng59
Comment options

Answer selected by Steffen911
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment