Overview
We welcome new contributors. Please read the code of conduct and the contributing guidelines.
Operator Development
The Operator which manages the SeldonDeployment CRD is contained within the /operator folder. It is created using kubebuilder
For local development we use kind, create a kind cluster
kind create clusterInstall cert-manager
make install-cert-managerTo build and load the current controller image into the Kind cluster:
make kind-image-installTo install the Operator run:
make deployIf you wish to install the Operator and prepare the controller to be run outside the cluster, for example inside an IDE (we use GoLand) then run the following. This has only been tested on a local Kind cluster:
make deploy-localWhen the everything is running delete the seldon-controller-manager deployment from the seldon-system namespace as we will run locally.
Next, download the webhook certificate (created by cert-manager) locally:
make tls-extractYou can now run the manager locally. You will need to set the webhook-port on startup e.g.,
If running inside an IDE and you are using Kind then make sure you set the KUBECONFIG env as well.
Tools we use
Building Seldon Core
Last updated
Was this helpful?