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

enable default podGC for workflowtemplate reference scenario #3349

Closed
catweisun opened this issue Jun 30, 2020 · 3 comments
Closed

enable default podGC for workflowtemplate reference scenario #3349

catweisun opened this issue Jun 30, 2020 · 3 comments
Assignees
Labels
type/bug type/regression Regression from previous behavior (a specific type of bug)

Comments

@catweisun
Copy link

Summary

Need centralized podGC to support workflow template scenario.

Motivation

I'm trying to evaluate and optimize the performance for the worklfow on argo, but the default podGC strategy is not support the workflowtemplate ref scenario and I have to setup the podGC in individual workflowtemplate as workaround. The workflow template is developed by other vendors/partners who focus on the business logic instead infrastructure and optimization, it make no sense to add podGC spec

Please give examples of your use case, e.g. when would you use this.

Proposal

Enable the default podGC in controller configMap for workflow template should be best and easy way for this scenario.


Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

@catweisun catweisun added the type/feature Feature request label Jun 30, 2020
@sarabala1979 sarabala1979 self-assigned this Jun 30, 2020
@jacobdr
Copy link

jacobdr commented Jul 10, 2020

We used to enable workflowDefaults in the ConfigMap to be:

workflowDefaults: |
    podGC:
        strategy: OnWorkflowSuccess

This worked in the 2.8.x release train, but broke in 2.9.1

In 2.9.1, when submitting a job through argo submit via the CLI, an exception is thrown. So we had to roll that back and just add the podGC to the submitted template. I think this ticket covers this so I won't open another issue. Wanted to mention it as another case that might help with reproduction

@sarabala1979
Copy link
Member

I am working on it

@alexec alexec added the type/regression Regression from previous behavior (a specific type of bug) label Jul 10, 2020
@alexec
Copy link
Contributor

alexec commented Jul 10, 2020

@jacobdr I think you are raising a bug with v2.9 rather than comment on an enhancement for v2.10. Can you please open another issue for you bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug type/regression Regression from previous behavior (a specific type of bug)
Projects
None yet
Development

No branches or pull requests

4 participants