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.
Follow the instructions below if you want to extend the controller functionality:
Unit tests have been developed using the Kubernetes envtest framework.
Run the following command to execute them:
make test
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>