Image Classifcation API Example using ImageNet pretrained ResNet50/Xception model and tensorflow serving
- OpenShift 4
- OpenShift Pipeline Operator installed
Create project
$ oc new-project ic-pipelines
Create PVC for model / git-sources
$ oc create -f pipeline/model_pvc.yaml
Create save model task
$ oc create -f pipeline/save_model_task.yaml
Create apply manifests task
$ oc create -f pipeline/apply_manifest_task.yaml
Create pipeline
$ oc create -f pipeline/pipeline.yaml
Check task, clustertask, pipeline list
$ tkn task list
$ tkn clustertask list
$ tkn pipeline list
Run pipeline
$ tkn pipeline start model-save-and-deploy -w name=shared-workspace,claimName=model-pv-claim -p deployment-name=ic-sample-api -p git-url=https://github.com/mmitsugi/ic-sample-api.git --use-param-defaults