2

I'm looking for solution that allow me to set lifecycle policy for object in minio storage.

What do I want?
I want to delete objects from minIO storage after 30 min.

Possible, but not suitable solution

  1. Chronos + mc rm -f --older-than 30m.
  2. AWS S3 Lifecycle rule (it doesn't allow to set lifecycle using minutes).
ikanaide
  • 117
  • 3
  • 8

2 Answers2

2

According to this minio

The lifecycle checks every 24 hours. So the 30 mins expiration won't work.

逍遥子k
  • 177
  • 5
0
mc rm --recursive --dangerous --force --older-than 30m local

"local" should be described in the file ~/.mc/config.json