Deploy Multiple Seldon Core Operators
This notebook illustrate how multiple Seldon Core Operators can share the same cluster. In particular:
A Namespaced Operator that only manages Seldon Deployments inside its namespace. Only needs Role RBAC and Namespace labeled with
seldon.io/controller-idA Clusterwide Operator that manges SeldonDeployment with a matching
seldon.io/controller-idlabel.A Clusterwide Operator that manages Seldon Deployments not handled by the above.
Setup Seldon Core
Use the setup notebook to Setup Cluster with Ambassador Ingress and Install Seldon Core. Instructions also online.
Namespaced Seldon Core Operator
!kubectl create namespace seldon-ns1!kubectl label namespace seldon-ns1 seldon.io/controller-id=seldon-ns1!helm install seldon-namespaced ../helm-charts/seldon-core-operator \
--set singleNamespace=true \
--set image.pullPolicy=IfNotPresent \
--set usageMetrics.enabled=false \
--set crd.create=false \
--namespace seldon-ns1 \
--wait!kubectl rollout status deployment/seldon-controller-manager -n seldon-ns1Label Focused Seldon Core Operator
We set
crd.create=falseas the CRD already exists in the cluster.We set
controllerId=seldon-id1. SeldonDeployments with this label will be managed.
Last updated
Was this helpful?