-
Notifications
You must be signed in to change notification settings - Fork 831
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 2 args to seldon-core-microservice #2193
Conversation
Hi @ntorba. Thanks for your PR. I'm waiting for a SeldonIO member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. |
/assign @RafalSkolasinski |
Hi @ntorba, The ports can be already controlled via environmental variables - do you have an use case in which controlling via environmental variables is not sufficient? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR looks good
@ntorba if you fix the two highlighted issues we can go ahead with test and merge 🚀 |
Hi @RafalSkolasinski, |
Well, this is already the case when we run models in the k8s -> they all run in the same k8s pod so they share localhost and we control their ports through environmental variables . It is actually one of the Seldon Core Operator responsibilities to set these properly. When running locally this should be achievable with PREDICTIVE_UNIT_SERVICE_PORT=5000 seldon-core-miscroservice ... |
Nevertheless, we're happy to go ahead and merge after resolving review issues. Just wanted to highlight that it is already possible to achieve desired behaviour with currently available features - in case it'd be important for someone using older SC versions. |
@RafalSkolasinski, here are the updates requested on the pull request.
@RafalSkolasinski |
/ok-to-test |
/test integration |
Mon Jul 27 14:27:07 UTC 2020 impatient try |
Mon Jul 27 14:27:10 UTC 2020 impatient try |
Mon Jul 27 14:27:16 UTC 2020 impatient try |
Mon Jul 27 14:27:31 UTC 2020 impatient try |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RafalSkolasinski The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
This PR adds two arguments to
seldon_core_microservice
command line tool. The arguments areport
andmetrics_port
.This addition is necessary to allow multiple endpoints launched with
seldon_core_microservice
to run simultaneously. The current use for this is to parallelize the test of multiple components before building docker images or deploying to kubernetes.Which issue(s) this PR fixes:
Fixes #
No issue submitted for this.
Special notes for your reviewer:
Does this PR introduce a user-facing change?: