-
Notifications
You must be signed in to change notification settings - Fork 835
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
Setting engineResources
not enabling resource requests/limits to seldon-container-engine
sidecar
#398
Comments
EngineResources is deprecated. Though its use should work but I think there is a bug in the move to use Can you try using seldon-core/proto/seldon_deployment.proto Lines 50 to 58 in e9479a9
The bug is in: Lines 159 to 172 in e9479a9
The engineResources are presently always overridden. On a side note I think there will need some work to ensure Java respects the container env, but for now you can set JAVA_OPTS as described here as well? |
Thanks for the prompt response @cliveseldon! I was following this doc, which is missing both the Bummer about the bug but with Also thanks for the JAVA_OPTS annotations pointer, that is very helpful. My original query in the issue seems to be resolved. |
Following this example for setting
engineResources
to seldon deployment YAML. It looks likeseldon-container-engine
sidecar is using unbounded memory resources (update JVM flags?) leading to potentially being a bad neighbor. However, it is fine as long as I can make the container's QoS to beGuaranteed
instead ofBurstable
by setting requests = limits. Here is the YAML:Describing the pod after the deployment shows no update to
seldon-container-engine
's resource settings (stays with its default request of 100m cpu):However, as the chart below shows, both memory and cpu are unbounded:
The text was updated successfully, but these errors were encountered: