Kubeflow Trial Installation

Important

Before starting the installation procedure, please download installation resources as explained here and make sure that all pre-requisites are satisfied.

Simple Kubeflow Installation

Here we use an end-to-end kubeflow installer which sets up Seldon Deploy and all ecosystem components.

These components include:

  • Seldon Core

  • Seldon Deploy

  • Serverless Request Logging

  • Grafana Visualisations

  • GitOps Bitbucket/Github with ArgoCD

Install the Ecosystem

The first step is to update the configuration options to use the kubeflow auth setup for your Seldon Deploy install as follows,

ENABLE_APP_AUTH=false
OIDC_PROVIDER=http://dex.auth.svc.cluster.local:5556/dex

The next step will set up all ecosystem components (including kubeflow) for Seldon Deploy except for the GitOps ArgoCD component.

cd seldon-deploy-install
./prerequisites-setup/kubeflow-setup.sh
./sd-setup/sd-install-kubeflow

Hint

Ensure you have the correct current context set for your cluster, before starting the install.

The kubeflow-setup.sh script is broken into sections so if you have an existing kubeflow install then its initial sections could be skipped.

The target kubeflow distribution is the istio_dex 1.2 distribution. The credentials for this are admin@seldon.io/12341234

Gitops

Gitops setup is optional. You will need an account on either github.com or bitbucket.org.

Installation requires htpasswd. Can be installed on Ubuntu, Debian and Mint with:

sudo apt install apache2-utils

GitHub

You will need personal access token configured with full control of private repositories as shown:

scopes

Then make sure that you setup GIT_USER and GIT_TOKEN in the sdconfig.txt file and run

./sd-setup/gitops-setup.sh seldon-gitops "default,kubeflow"

Bitbucket

You will need app password token configured with full control of private repositories as shown:

scopes

Then make sure that you setup GIT_USER and GIT_TOKEN in the sdconfig.txt file and run

GIT_PROVIDER=bitbucket ./sd-setup/gitops-setup.sh seldon-gitops "default,kubeflow"

If you prefer to install GitOps manually, please see Bitbucket for step by step instructions.

Accessing Seldon Deploy

After installation get url for the dashboard.

cd seldon-deploy-install
./sd-setup/show-seldon-deploy-url

The username and password will come from kubeflow, not Seldon config. If kubeflow-setup.sh is used then it will be the default for the istio_dex distro - admin@kubeflow.org and 12341234 (but the minio creds will be patched to match the seldon config).

You can double-check the user in data.static_email of kubectl get cm -n auth dex-config -o yaml