argoproj / argo-workflows

Workflow Engine for Kubernetes
https://argo-workflows.readthedocs.io/
Apache License 2.0
15.12k stars 3.21k forks source link

option to override default resources.limits with none #13697

Open tooptoop4 opened 1 month ago

tooptoop4 commented 1 month ago

https://argo-workflows.readthedocs.io/en/release-3.5/cost-optimisation/#configure-executor-resource-requests shows how to set default limits (ie cpu/memory) for all workflows

would like ability for one workflow to do an override of setting no limits i tried cpu: null but it did not work

jswxstw commented 1 month ago

Have you tried PodSpecPatch?

tooptoop4 commented 1 month ago

PodSpecPatch adds unnecessary latency

jswxstw commented 1 month ago

Argo is not inherently a low-latency task scheduling system, so the latency is almost negligible compared to the scheduling time. Moreover, to implement this feature, the method is almost identical to PodSpecPatch.