diff --git a/manifests/kustomize/OWNERS b/manifests/kustomize/OWNERS new file mode 100644 index 00000000..4e580875 --- /dev/null +++ b/manifests/kustomize/OWNERS @@ -0,0 +1,8 @@ +approvers: + - tarilabs + - rareddy + - Tomcli +reviewers: + - tarilabs + - rareddy + - Tomcli diff --git a/manifests/kustomize/README.md b/manifests/kustomize/README.md new file mode 100644 index 00000000..2c6ec9d7 --- /dev/null +++ b/manifests/kustomize/README.md @@ -0,0 +1,56 @@ +# Install Kubeflow Model Registry + +This folder contains [Kubeflow Model Registry](https://www.kubeflow.org/docs/components/model-registry/installation/) Kustomize manifests + +## Installation + +To install Kubeflow Model Registry, follow [Kubeflow Model Registry deployment documentation](https://www.kubeflow.org/docs/components/model-registry/installation/) + +The following instructions will summarize how to deploy Model Registry as separate component in the context of a default Kubeflow >=1.8 installation. + +```bash +kubectl apply -k overlays/db +``` + +As the default Kubeflow installation provides an Istio mesh, apply the necessary manifests: + +```bash +kubectl apply -k options/istio +``` + +Check everything is up and running: + +```bash +kubectl wait --for=condition=available -n kubeflow deployment/model-registry-deployment --timeout=2m +kubectl logs -n kubeflow deployment/model-registry-deployment +``` + +Optionally, you can also port-forward the REST API container port of Model Registry to interact with it from your terminal: + +```bash +kubectl port-forward svc/model-registry-service -n kubeflow 8081:8080 +``` + +And then, from another terminal: + +```bash +curl -sX 'GET' \ + 'http://localhost:8081/api/model_registry/v1alpha3/registered_models?pageSize=100&orderBy=ID&sortOrder=DESC' \ + -H 'accept: application/json' | jq +``` + +## Usage + +For a basic usage of the Kubeflow Model Registry, follow the [Kubeflow Model Registry getting started documentation](https://www.kubeflow.org/docs/components/model-registry/getting-started/) + +## Uninstall + +To uninstall the Kubeflow Model Registry run: + +```bash +# Delete istio options +kubectl delete -k options/istio + +# Delete model registry db and deployment +kubectl delete -k overlays/db +``` \ No newline at end of file