Skip to content

Commit

Permalink
fixed iris sklearn model example (#3762)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
karan6190 committed Nov 26, 2021
1 parent 9a7ca87 commit c744d2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/models/sklearn_iris/sklearn_iris.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"Then port-forward to that ingress on localhost:8003 in a separate terminal either with:\n",
"\n",
" * Ambassador: `kubectl port-forward $(kubectl get pods -n seldon-system -l app.kubernetes.io/name=ambassador -o jsonpath='{.items[0].metadata.name}') -n seldon-system 8003:8080`\n",
" * Istio: `kubectl port-forward $(kubectl get pods -l istio=ingressgateway -n istio-system -o jsonpath='{.items[0].metadata.name}') -n istio-system 8003:80`"
" * Istio: `kubectl port-forward $(kubectl get pods -l istio=ingressgateway -n istio-system -o jsonpath='{.items[0].metadata.name}') -n istio-system 8003:8080`\n",
" * Istio: `kubectl port-forward -n istio-system svc/istio-ingressgateway 8003:80`"
]
},
{
Expand Down

0 comments on commit c744d2e

Please sign in to comment.