-
Notifications
You must be signed in to change notification settings - Fork 901
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
ttlStrategy is missing from analysis-template and cluster-analysis-template #4087
Comments
This was by design AnalysisRuns created via Argo Rollouts are TTL'ed and managed by Rollouts controller, this feature enables people to use the AnalysisRun CR on it's own. Here are the rules that the rollouts controller uses to TTL AR's
|
@zachaller thx for providing the details. |
They are not set, the cleanup logic is based on those rules instead of ttl's. I think those rules generally make sense for ttl'ing AnalysisRuns managed by the argo rollouts controller. Another way of looking at it is you can use rollouts max replicasets to keep around as another way to control analysis run removal. |
I see, thanks for clarification. Would the manual setting of TTLs on analysis be considered? |
Having that failed analysis there would not block a retry, you should still be able to issues a retry on the rollout and it will create a another analysis run with a |
Checklist:
Describe the bug
As per documentation, ttlStrategy was introduced since version 1.7 - https://argo-rollouts.readthedocs.io/en/stable/features/analysis/#time-to-live-ttl-strategy.
However, it appears that ttlStrategy was added in analysisrun CRD, but was not added in analysistemplates and clusteranalysistemplates CRDs.
Because of this, we are unable to create analysisRuns with ttlStrategy .
To Reproduce
Expected behavior
Version
1.7.2
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
The text was updated successfully, but these errors were encountered: