We use analytics and cookies to understand site traffic. Information about your use of our site is shared with Google for that purpose.You can read our privacy policies and terms of use etc by clicking here.
Seldon Deployment and Canary updates
Launch a simple seldon deployment and update model by canarying
Iris Model
We will show:
- Deploying a pretrained sklearn iris model
- Loadtesting the model
- Looking at request logging
- Canarying a new XGBoost model
- Load test canary model
- Promote the canary model
Deploy Model
Use the model url:
gs://seldon-models/sklearn/iris
Wait for the deployment to be running:
Enter the deployment details screen
Start Load Test
Complete the load test wizard:
Use the request.json
file in this folder:
{
"data": {
"names": ["Sepal length","Sepal width","Petal length", "Petal Width"],
"ndarray": [
[6.8, 2.8, 4.8, 1.4],
[6.0, 3.4, 4.5, 1.6]
]
}
}
When running you should see metrics on dashboard:
View Request Logs
Enter the request logs screen to view requests.
Create Canary
Create an XGBoost canary model using the saved model at:
gs://seldon-models/xgboost/iris
Rerun the load test and you should see metrics for both default and canary models.
Promote the XGBoost Canary to be the main model.
Delete Model
Delete the model
Last modified October 29, 2019: Reorganizing project structure and adding WIP image explanations (8bfc877)