This folder contains Kubeflow Model Registry Kustomize manifests
To install Kubeflow Model Registry, follow Kubeflow Model Registry deployment documentation
The following instructions will summarize how to deploy Model Registry as separate component in the context of a default Kubeflow >=1.8 installation.
kubectl apply -k overlays/dbAs the default Kubeflow installation provides an Istio mesh, apply the necessary manifests:
kubectl apply -k options/istioCheck everything is up and running:
kubectl wait --for=condition=available -n kubeflow deployment/model-registry-deployment --timeout=2m
kubectl logs -n kubeflow deployment/model-registry-deploymentOptionally, you can also port-forward the REST API container port of Model Registry to interact with it from your terminal:
kubectl port-forward svc/model-registry-service -n kubeflow 8081:8080And then, from another terminal:
curl -sX 'GET' \
'http://localhost:8081/api/model_registry/v1alpha3/registered_models?pageSize=100&orderBy=ID&sortOrder=DESC' \
-H 'accept: application/json' | jqFor a basic usage of the Kubeflow Model Registry, follow the Kubeflow Model Registry getting started documentation
To uninstall the Kubeflow Model Registry run:
# Delete istio options
kubectl delete -k options/istio
# Delete model registry db and deployment
kubectl delete -k overlays/db