This pipeline runs training, storing and deploying a Tensorflow model with MNIST handwriting recognition using IBM Watson Studio service. This example is originated from Kubeflow pipeline's ibm-samples/watson example.
-
Install KFP Tekton prerequisites
-
Install Watson Requirements
- Compile the Watson ML pipeline. The kfp-tekton SDK will produce a Tekton pipeline yaml definition in the same directory called
watson_train_serve_pipeline.yaml
.
python watson_train_serve_pipeline.py
-
If your default Kubeflow service account dosn't have edit permission, follow this sa-and-rbac to setup.
-
Next, upload the
watson_train_serve_pipeline.yaml
file to the Kubeflow pipeline dashboard with Tekton Backend to run this pipeline. Then, use the default pipeline variables except for these two variables.GITHUB_TOKEN
: your github tokenCONFIG_FILE_URL
: your configuration file which stores the credential information, here is the example of creds.ini file