Skip to content

Commit

Permalink
Update README.md (kubeflow#1027)
Browse files Browse the repository at this point in the history
Fixes variable parsing in `curl` request.
  • Loading branch information
rmporsch authored Aug 17, 2020
1 parent 4207f4b commit 4d602f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export INGRESS_PORT=8080
Curl from ingress gateway
```bash
SERVICE_HOSTNAME=$(kubectl get inferenceservice sklearn-iris -n kfserving-test -o jsonpath='{.status.url}' | cut -d "/" -f 3)
curl -v -H "Host: ${SERVICE_HOSTNAME}" http://${INGRESS_HOST}:{INGRESS_PORT}/v1/models/sklearn-iris:predict -d @./docs/samples/sklearn/iris-input.json
curl -v -H "Host: ${SERVICE_HOSTNAME}" http://${INGRESS_HOST}:${INGRESS_PORT}/v1/models/sklearn-iris:predict -d @./docs/samples/sklearn/iris-input.json
```
Curl from local cluster gateway
```bash
Expand Down

0 comments on commit 4d602f2

Please sign in to comment.