Skip to content

Commit d2300ff

Browse files
committed
Add KServe inference example for Kubeflow ModelKit
Includes InferenceService manifest demonstrating kit:// URI integration with KServe for deploying ModelKits. Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
1 parent 4844d97 commit d2300ff

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: serving.kserve.io/v1beta1
2+
kind: InferenceService
3+
metadata:
4+
name: house-prices-model
5+
namespace: modelkit-demo
6+
annotations:
7+
serving.kserve.io/deploymentMode: RawDeployment
8+
spec:
9+
predictor:
10+
model:
11+
modelFormat:
12+
name: sklearn
13+
storageUri: kit://jozu.ml/demo/house-prices:latest
14+
protocolVersion: v2

build/dockerfiles/kubeflow-components/examples/house-prices-pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
creates a directory with well-named files (model.pkl, predictions.csv, train.py, README.md)
66
and the push-modelkit component packages the entire directory as a ModelKit.
77
8-
Uses pure KFP v2.14.3 components without v1 compatibility.
8+
Uses KFP v2.14.3
99
"""
1010

1111
from kfp import dsl, kubernetes

0 commit comments

Comments
 (0)