question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[feature] Allow time to live to be set on pipelines individually while supporting the persistance agent to do the GC.

See original GitHub issue

Feature Area

There have been multiple issues related to time to live(ttl) for pipelines, https://github.com/kubeflow/pipelines/issues/5545, https://github.com/kubeflow/pipelines/issues/5234. A common solution is to use set_ttl_seconds_after_finish which don’t respect the persistence agent and can resolve in that data is lost for the users.

In order to allow users to configure the ttl for pipelines the suggested solution is to set TTL_SECONDS_AFTER_WORKFLOW_FINISH [https://github.com/kubeflow/pipelines/issues/5234#issuecomment-805599988] but this will set for all pipelines.

What feature would you like to see?

To support the persistence agent while allowing users to set time to live on pipeline level, I suggest that we add the option to the pipeline spec and update the persistence agent to support this.

What is the use case or pain point?

Today either the users have to set the same TTL for all pipelines(through TTL_SECONDS_AFTER_WORKFLOW_FINISH in the persistiance agent) or use set_ttl_seconds_after_finish which might result in data lose.

Is there a workaround currently?


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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
SebBlincommented, Jan 5, 2022

As far as I understand it, latest releases of KFP come with an updated release of Argo, that as update the way to specify a TTL in workflow (see https://argoproj.github.io/argo-workflows/fields/#ttlstrategy). I made a PR to correct it : https://github.com/kubeflow/pipelines/pull/7141

0reactions
NikeNanocommented, Jan 30, 2022

As I understand this is now resolved so will close this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Delete pipeline pods after running #5234 - GitHub
[feature] Allow time to live to be set on pipelines individually while supporting the persistance agent to do the GC. #6432.
Read more >
Documentation - Apache Kafka
Topics in Kafka are always multi-subscriber; that is, a topic can have ... pipelines create graphs of real-time data flows based on the...
Read more >
Jenkins Features Controlled with System Properties
Jenkins has several "hidden" features that can be enabled with system ... This is set to true by the development tooling to identify...
Read more >
Kafka Design | Confluent Documentation
The Apache Kafka architecture is designed to act as a unified platform for handling all the real-time data feeds a large company might...
Read more >
Persistent Disk: durable block storage - Google Cloud
Both types can be sized up to 64 TB. Flexibility that comes with no downtime. Attach multiple persistent disks to Compute Engine or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found