Kubernetes installation

There’s already a pre-built Helm charts for installing and maintaining Serving on Kubernetes clusters.

Prerequisites

Installation can be performed in a few ways:

Install using helm chart from repository

Add Serving to the repo.

helm repo add hydrosphere https://hydrospheredata.github.io/hydro-serving/helm 

Install the chart from repo to the cluster.

helm install --name serving hydrosphere/serving

Install using helm chart from releases

Choose a release from the releases page and install it as usual.

helm install --name serving https://github.com/Hydrospheredata/hydro-serving/releases/download/2.0.1/helm.serving-2.0.1.tgz

Install using helm with manual build

Clone the repository.

git clone https://github.com/Hydrospheredata/hydro-serving.git
cd hydro-serving/helm

Build dependencies.

helm dependency build serving

Install the chart.

helm install --name serving

After chart was installed to the cluster, you have to expose an ui deployment outside of the cluster in order to access it. For the simplicity, I will just port-forward sidecar locally.

$ kubectl port-forward deployment/serving-ui 80:80

To check that everything works fine, open http://localhost/. By default UI is available at port 80.

For more information about configuring serving release refer to the chart’s repository.