-
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
fixed iris sklearn model example #3762
Conversation
fixed the tunnel issue, as no 80 port running inside the pod. Tunnel should be created on ingress gateway service
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Hi @karan6190. Thanks for your PR. I'm waiting for a SeldonIO or todo 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 @SachinVarghese |
any update ? |
Thanks for this. I think this issue is historically because at some point istio ingress changed from pot 80 to 8080. All our other examples port-forward to the istio-ingress pod with port 8080. If we change this to use svc its out of step with the other examples. Maybe we could change to port 8080 which I assume works. A different PR could decide if SVC is better long term? |
Would suggest to put recommended command there as
this should work fine (I use it all the time) and seems to be clean and straighfroward. |
@cliveseldon sure that's make sense, I will alter the Pull request to create a tunnel via pod using 8080 port. |
@RafalSkolasinski thanks I will do. So basically Doc say we need to create a tunnel from pod not through svc which do confuse the users. I will update the Pull request |
Well, the whole spirit around it is that model URLs are in format:
and { ingress } can be your public IP (or DNS name) of istio / ambassador ingress. For demos / testing it is just convenient to assume that it is port-forwarded to
|
@RafalSkolasinski yeah I understand that, but the users like me who are new to istio, got stuck in creating a tunnel. |
I have updated the pull request, please have a look |
Yes, then the command of mine should be straightforward and work without issues, is it not? I wonder why do you need to add |
yes, your command will works fine as its doing a port fwd via svc. --address I have used , in case user is working on Minikube and need to hit the model via local machine in that it will work else the port forwarding will be restricted to 127.0.0.0 |
so make it generic should we remove --address field ?? |
Once the local Adding
Yes, please. I think it's better without it :) |
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.
LGTM, thanks for the contribution!
[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 |
Yeah totally make sense. lets keep it unique. I have removed the --address field |
Hi Team, any idea how these changes can be merged to master ? |
@karan6190 Thanks! |
* fixed tunnel fixed the tunnel issue, as no 80 port running inside the pod. Tunnel should be created on ingress gateway service * updated the Port-Forwarding step * updated port-forwarding options with Istio svc * fixed types * fixed indentation issue * removed --address field
Fixed the tunnel issue in iris sklearn model example, as no 80 port running inside the pod. Tunnel should be created on Istio ingress gateway service
This Pull Request is for fixing the example where there is issue in creating tunnel for executing the REST API from local