-
Notifications
You must be signed in to change notification settings - Fork 834
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
How do I increase timeout of sidecar seldon container? #196
Comments
Looking at the code It seems that its hardcoded seldon-core/api-frontend/src/main/java/io/seldon/apife/service/InternalPredictionService.java Line 55 in 93d875d
|
Yes, you are right ; we are working on functionality to allow configuration via annotations in the SeldonDeployment CRD so these things can be configurable. |
Is there an PR that has the code? we can dogfood it because its preventing us from deploying to production. we can also help implement if required. |
also @cliveseldon would it be possible for us to fork the repo and update the hardcoded value and use that...like can we tell seldon to use a different image/tag for the sidecar? that way we can do a quick and dirty change while you guys make the required changes to the CRD etc. |
seems that if we can somehow set the property it will work. any guidance? |
Yes, there are a few things: The timeout will be in the API FrontEnd Gateway AND the Seldon Engine (service orchestrator), so you would need to hack both of those. Yes, you can change the engine version from the Helm values.yaml.
I will do a premlinary PR with the code for the annotations as well. Happy to have help on working on this. Please contact me on our Slack channel. |
The PR #197 |
This is great!
Will test it out and let you know. It seems that this should cover our
use-case exactly.
Madhav
…On Thu, Aug 30, 2018 at 4:08 PM cliveseldon ***@***.***> wrote:
This should be fixed in the latest snapshot development release by the PR
#211 <#211>
If you use images for 0.2.3-SNAPSHOT you can test. See
docs
<https://github.com/SeldonIO/seldon-core/blob/master/docs/annotations.md>
and
example
<https://github.com/SeldonIO/seldon-core/blob/master/notebooks/timeouts.ipynb>
.
Please test and tell us if it fixes your requirements.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#196 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAenDPFvz1hx_x1xRo_RY2R6Xtai_BJ0ks5uV8CYgaJpZM4VqXhE>
.
|
This doesn't work behind ambassador
it should include
|
please let me know if i should open a new issue |
Can you add your case to #120 |
We see the following error as one of our predictors takes a while (10+ sec)
But it seems that the sidecar that manages these connections has a fixed timeout in the code somewhere. Ideally we should allow this to be configured somewhere?
The text was updated successfully, but these errors were encountered: