/odh-model-controller

Primary LanguageGoApache License 2.0Apache-2.0

ODH Model Controller

The controller will watch the Predictor custom resource events to extend the KServe modelmesh-serving controller behavior with the following capabilities:

  • Openshift ingress controller integration.

It has been developed using Golang and Kubebuilder.

Implementation detail

Developer docs

Follow the instructions below if you want to extend the controller functionality:

Run unit tests

Unit tests have been developed using the Kubernetes envtest framework.

Run the following command to execute them:

make test

Deploy local changes

Build a new image with your local changes and push it to <YOUR_IMAGE> (by default quay.io/${USER}/odh-model-controller:latest).

make -e IMG=<YOUR_IMAGE> container-build container-push

Deploy the manager using the image in your registry:

make deploy -e K8S_NAMESPACE=<YOUR_NAMESPACE> -e IMG=<YOUR_IMAGE>