Skip to content

Commit

Permalink
update onnx to a version that supports the v1 url format (kubeflow#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakelkar authored and k8s-ci-robot committed Oct 19, 2019
1 parent dc9eca5 commit 3f52a92
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 41 deletions.
4 changes: 2 additions & 2 deletions config/default/configmap/inferenceservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ data:
},
"onnx": {
"image": "mcr.microsoft.com/onnxruntime/server",
"defaultImageVersion": "v0.5.0",
"defaultImageVersion": "v0.5.1",
"allowedImageVersions": [
"v0.5.0"
"v0.5.1"
]
},
"sklearn": {
Expand Down
4 changes: 3 additions & 1 deletion docs/samples/onnx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ $ inferenceservice.serving.kubeflow.org/style-sample configured
## Run a sample inference
1. Setup env vars
```
export SERVICE_URL=$(kubectl get inferenceservice ${MODEL_NAME} -o jsonpath='{.status.url}')
export MODEL_NAME=style-sample
export SERVICE_HOSTNAME=$(kubectl get inferenceservice ${MODEL_NAME} -o jsonpath='{.status.url}' | cut -d "/" -f 3)
export CLUSTER_IP=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
```
2. Verify the service is healthy
```
Expand Down
116 changes: 78 additions & 38 deletions docs/samples/onnx/mosaic-onnx.ipynb

Large diffs are not rendered by default.

0 comments on commit 3f52a92

Please sign in to comment.