#CP2HDHKE1 We are dealing with flyte in production generating enormous amounts of data in the S3 flytedata folder. Is there any housekeeping script or anything which the community is using to remove data from the flyte s3 and correspondingly delete entries from the postgres DB's
f
freezing-airport-6809
02/09/2023, 6:50 PM
@stocky-notebook-88311 you can use lifecycle policies in s3 to delete the data
freezing-airport-6809
02/09/2023, 6:50 PM
just ensure that this matches your cache expiration time and you should be ok
freezing-airport-6809
02/09/2023, 6:51 PM
flyteadmin may have some links that will become useless for old executions, but that is ok
n
nutritious-london-39005
02/10/2023, 3:22 AM
how is the cache expiration time set?
s
stocky-notebook-88311
02/10/2023, 5:38 AM
@freezing-airport-6809 How can I set cache expiration time