-
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
Issue in deployments of multiple models #103
Comments
Hi Krishna, How are you deploying your second graph? In the json, you need a unique oauth key for each graph. Then when you get a token for the API, you specify the key and secret corresponding to the graph you are planning to query. @cliveseldon Definitely another thing we should clarify in the docs. |
Added to above, just to confirm you need to give each deployment a separate name, plus separate oauth key and secret if using the API Frontend built in. |
@krishna-dahifale hello ! |
@zhangwei730 Can you give details of the kubernetes cluster you are using? GCP, bare-metal? Have you followed the GCP examples in notebooks, e.g. https://github.com/SeldonIO/seldon-core/blob/master/notebooks/kubectl_demo_gcp.ipynb |
@cliveseldon thank you for your reply. since you mentioned the GCP, i noticed that i haved installed anything GCP-related. thank you! |
@zhangwei730 No , seldon-core runs on any kubernetes cluster. Can you explain the steps you ran and the particular issue you are experiencing in detail? Thanks |
@cliveseldon Gladly YES!
NAMESPACE NAME READY STATUS RESTARTS AGE
the one on the minikube: Name: seldon-deployment-example the one on the kubernetes: Name: seldon-deployment-example I tagged some of the differences(italic). As far, this is my all tries on the issure. Thank you for your patience and your answer! |
@cliveseldon The long text posted before maybe a little messy, sorry ! |
Did you install seldon-core with RBAC enabled?, e.g.
can you check the logs of the cluster-manager. There will be errors if RBAC is not emabled and required on your cluster. |
@cliveseldon I checked the kube-cluster-manager log, and found that there are indeed several errors, but I am not sure whether it is RBAC related, so I post them here. And, indeed I did not install seldon-core with RBAC enabled. ----- actual_state_of_world.go:483] Failed to set statusUpdateNeeded to needed true because nodeName="node1" does not exist I noticed that there seems two kinds of errors, the one with the missing of kubernetes nodes, and the failing of seldon. So what do these two errors mean and how could I solve these two errors? Your answer will be a tremendous help to me, thank you very much! |
@cliveseldon Missing one error: |
@cliveseldon Followed your guide, I sucessfully run thought the seldon model! I am truly grateful to your help! Again, thank you so much! |
@zhangwei730 Glad its working. |
* adjust and fix tests for flattened versions * tidy up state manager * model_state.go cleanup * re-instate getVersionsForAllModels * fix model_state_test.go * fix rproxy_grpc_test.go * fixes after sorting build * lint * sperate lock in a different stuct * fix tests * remove LRU dep from state manager * add a test for reload lock * remove reload lock * tidy up names * add defer * add logging * add transaction for unload * wait for item in case of of get and delete * add a test to check state of models * set log level to info for now * fix failing test * add state check to remaining tests * wait for item lock outside of global mutex * revert change as will be considered in another PR * post merge fixes * display diff in model states (test) * clean up load model from versions * tidy up failure in loadModel * dont do remove model version in client.go * move message to debug * combine cache and tx implementation * working without unloading vs evict * state is inconsistent still (evict - unload) * adding peek , state is ok * fix lrucache test * simplify apis * simplify unload logic * only hold write lock when model is not in memory * remove extra internal locks * remove control plane lock! * re introduce txmanager * tidy up comments * further tidy up * fix lint * minor fix log msgs * fix lint * add scheduler address and port * tidy up post merge * Review comments
Hi,
I am able to make seldon-core up and running on kubernetes cluster and are able to get sample models(FX Market Prediction and sklearn_iris) running and checking response via postman tool.
Now if I am deploying both models on seldon-core one after another, I am able to get desired output of the most recent deployed model only.so my query is whether we can deploy multiple models on seldon-core or we can only deploy one model at a time.Also, we want to know how seldon-api server will figure out which model to access, on the basis of URL or anything else.
The text was updated successfully, but these errors were encountered: