Stream Processing with KNative Eventing
Pre-requisites
Deploy your Seldon Model
%%writefile ./assets/simple-iris-deployment.yaml
apiVersion: machinelearning.seldon.io/v1
kind: SeldonDeployment
metadata:
name: iris-deployment
spec:
predictors:
- graph:
implementation: SKLEARN_SERVER
modelUri: gs://seldon-models/v1.20.0-dev/sklearn/iris
name: simple-iris-model
children: []
name: default
replicas: 1
Run the model in our cluster
Check that the model has been deployed
Create a Trigger to reach our model
Create trigger configuration
Send a request to the KNative Eventing default broker
Check our model has received it
Connect a source to listen to the results of the seldon model
First create the service that willl print the results
Now run the event display resources
Check that the event display has been deployed
Create trigger for event display
Apply that trigger
Check our triggers are correctly set up
Send a couple of requests more
Visualise the requests that come from the service
Last updated
Was this helpful?