-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Executor resource requests not applied to init/wait containers #6809
Comments
@zorulo I am not able to reproduce this issue. I can see the resource got an update on |
@sarabala1979 Thanks for looking into it. I can see the resources applied in our configmap when running |
@zorulo 2.11.x+ is working as expected. Is my understanding correct? |
I spend 10m looking at the code and I did not see any likely culprits. Can you please check to see what configuration the controller is logging on start-up and that it matches what you expect? |
@sarabala1979 Apologies, missed this, yes it seems fine on 2.11.x versions. @alexec For further context we are using flux2 with kustomize to deploy/setup our clusters, including automatic deployment of argo workflows. We use the Sorry for truncated logs, trying to retain anonymity, but running 2.11.8:
and 3.1.12:
|
Could you share the raw config map? |
@alexec It essentially looks like this, truncated again just for anonymity but we also have
|
Ah. I think I know what the issue is. You're only specific requests, not limits. I can see in the code you if don't specify limits, then it ignores it :(
Would you like to submit the fix? It should be really easy. |
@alexec aha! Yes, can confirm that adding
We definitely don't want to impose limits though; we work with extremely large and unpredictable datasets, which is why we have generous resource requests to begin with. To be honest I'm not totally sure what submitting a fix entails, so would prefer someone on your side doing it. |
It is not hard to create a fix, here is the guide: https://github.com/argoproj/argo-workflows/blob/master/docs/CONTRIBUTING.md If you don't have the time, then we'll see who is available at the next weekly. |
@alexec ah okay I'll take a look and give it a shot then, thanks! |
Signed-off-by: zorulo <artist.swimmer.cheng@gmail.com>
…rgoproj#6879) Signed-off-by: zorulo <artist.swimmer.cheng@gmail.com> Signed-off-by: kriti-sc <kathuriakriti1@gmail.com>
Summary
What happened/what you expected to happen?
We've recently tried upgrading argo from 2.11.x to the latest to take advantage of new features, namely the emissary executor.
However, now when specifying executor requests for the init/wait containers as described in the workflow-controller-configmap here, the resource requests do not seem to be getting applied like before.
We've tried numerous versions from 2.12.x onwards but none seem to properly apply resource requests as expected.
What version is it broken in?
Anything >= 2.12.x
What version was it working in?
2.11.x
Diagnostics
Simple hello world workflow that reproduces this:
Running
kubectl describe pod <pod>
on the resulting pod shows that there are no resource requests for the init/wait containers (3.1.12):Expected output (2.11.8):
Our workflow controller configmap specifies as follows:
What Kubernetes provider are you using?
AWS EKS
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
Tried docker and emissary
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered: