Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Artifacts validity period #5509

Closed
jw-websensa opened this issue Apr 20, 2021 · 3 comments
Closed

[feature] Artifacts validity period #5509

jw-websensa opened this issue Apr 20, 2021 · 3 comments

Comments

@jw-websensa
Copy link

Feature Area

/area backend
/area components

What feature would you like to see?

Pipeline run artifacts validity period.

What is the use case or pain point?

I'm using Kubeflow with on-premise Kubernetes cluster.
As we use Rancher local path provisioner for Storage Class it is crucial to control disk usage (this class does not work with pvc limits).
I wonder if it is possible to set some kind of period of validity for each artifact to periodically and automatically delete the oldest.

Is there a workaround currently?

I was thinking of preparing k8s crone job to do it manually, but I don't know specifically pipelines architecture and already noticed that deletion from minio is not enough (cacher still finds deleted artifacts available).


Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.

@zijianjoy
Copy link
Collaborator

Hello @jw-websensa , currently we recommend using minio rule to set expiration date: https://docs.min.io/docs/minio-bucket-lifecycle-guide.html. We will learn more about the usability and improve in the future.

KFP Runtime Triage automation moved this from Needs triage to Closed Apr 30, 2021
@jw-websensa
Copy link
Author

Hello @zijianjoy, thank you for your response, I am aware about minio rules, but I think it will not work very well as cacher will still find those expired artifacts as available.

@zijianjoy
Copy link
Collaborator

Thank you @jw-websensa for the extra context, we will consider this in an end-to-end fashion for configuring artifact lifetime in the coming versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants