This page was generated from notebooks/seldon_core_setup.ipynb.

Seldon Core Setup

Setup Cluster

[ ]:
!kubectl create namespace seldon
[ ]:
!kubectl config set-context $(kubectl config current-context) --namespace=seldon

Install Seldon Core

Follow the Seldon Core Install documentation.

[ ]:
!kubectl create namespace seldon-system

If using Ambassador:

[ ]:
!helm install seldon-core seldon-core-operator --repo https://storage.googleapis.com/seldon-charts --set ambassador.enabled=true --set usageMetrics.enabled=true --namespace seldon-system

If using Istio:

[ ]:
!helm install seldon-core seldon-core-operator --repo https://storage.googleapis.com/seldon-charts --set istio.enabled=true --set usageMetrics.enabled=true --namespace seldon-system

Check all services are running before proceeding.

Wait for rollout to finish

[ ]:
!kubectl rollout status deploy/seldon-controller-manager -n seldon-system

Install Ingress

Ambassador

Ambassador install

Note: There are reported gRPC issues with ambassador (see https://github.com/SeldonIO/seldon-core/issues/473).

[ ]:
!helm repo add datawire https://www.getambassador.io
[ ]:
!helm repo update
[ ]:
!helm install ambassador datawire/ambassador \
    --set image.repository=quay.io/datawire/ambassador \
    --set enableAES=false \
    --set crds.keep=false \
    --namespace seldon-system

Check all services are running before proceeding.

[ ]:
!kubectl rollout status deployment.apps/ambassador
[ ]:
!kubectl port-forward $(kubectl get pods -n seldon-system -l app.kubernetes.io/name=ambassador -o jsonpath='{.items[0].metadata.name}') -n seldon-system 8003:8080

or

Istio

Istio install

Note: Remember to add --set istio.enabled=true flag when installing Seldon Core with Istio Ingress.