Skip to content

Commit

Permalink
Add prerequisites to testing instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ca-scribner committed Mar 1, 2024
1 parent d7b588a commit b00d507
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pmmlserver/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
## Testing instructions
## Testing

### Prerequisites

* docker
* Google Cloud CLI tools ([installation guide](https://cloud.google.com/sdk/docs/install))

### Instructions

From the [upstream usage example](https://kserve.github.io/website/master/modelserving/v1beta1/pmml/), this rock can be tested locally using:

Expand All @@ -9,7 +16,7 @@ mkdir sample_model
gsutil cp -r gs://kfserving-examples/models/pmml ./sample_model/
# mount the model into the container at runtime
docker run -p 8080:8080 -v $(pwd)/sample_model/pmml:/mnt/models pmmlserver:0.11.2 --model_name test_model --model_dir=/mnt/models --http_port=8080
docker run -p 8080:8080 -v $(pwd)/sample_model/pmml:/mnt/models pmmlserver:<version> --model_name test_model --model_dir=/mnt/models --http_port=8080
```

Expand Down

0 comments on commit b00d507

Please sign in to comment.