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

add engine resources to proto and modify cluster manager #72

Merged
merged 2 commits into from
Jan 25, 2018
Merged

add engine resources to proto and modify cluster manager #72

merged 2 commits into from
Jan 25, 2018

Conversation

ukclivecox
Copy link
Contributor

@ukclivecox ukclivecox commented Jan 24, 2018

fixes #72

if (predictorDef.hasEngineResources())
cBuilder.setResources(predictorDef.getEngineResources());
else // set default resource requests for cpu
cBuilder.setResources(V1.ResourceRequirements.newBuilder().putRequests("cpu", Quantity.newBuilder().setString("0.1").build()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the 0.1 default should be a variable in a config file somewhere else

@Maximophone
Copy link
Contributor

Tested on minikube, will merge

@Maximophone Maximophone merged commit 0a9627a into SeldonIO:master Jan 25, 2018
@ukclivecox ukclivecox deleted the engine-resources branch February 14, 2018 16:31
agrski pushed a commit that referenced this pull request Dec 2, 2022
* add dataplane protos for reverse grpc proxy

* GRPC reverse proxy

* add an inital test

* use seldon-model as key

* wire up reverse grpc proxy

* add a test case for concurrent infer

* remove unused code

* tidy up test

* fix test

* add test for model error

* implement metadata endpoint for grpc

* Add test for metadata grpc

* fix rest reverse proxy to handle metadata endpoint

* fix lint

* fixes for protos

* error if state is not set

* adjust makefile for triton

* fix test

* implement ModelReady in reverse proxy

* add maxConnection

* add retry

* refactor client service starting

* fix typo

* deal with Ready thread-safety

* check slice has elements

* add a note

* change Ready to return bool

* fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants