Platform

The Hydrosphere platform can be installed in the following orchestrators:

Docker installation

To install Hydrosphere using docker-compose, you should have the following prerequisites installed on your machine.

Install from release

  1. Download the latest 2.2.1 release from the releases page;

  2. Unpack the tar ball:

    $ tar -xvf hydro-serving-2.2.1.tar.gz
    
  3. Set up an environment.

    $ cd hydro-serving-2.2.1
    $ docker-compose up
    

Install from source

  1. Clone the serving repository.

    $ git clone https://github.com/Hydrospheredata/hydro-serving
    
  2. Set up an environment.

    $ cd hydro-serving
    $ docker-compose up -d
    

To check installation, open http://localhost/. By default Hydrosphere UI is available at port 80.

Kubernetes installation

To install Hydrosphere on the Kubernetes cluster you should have the following prerequisites fulfilled.

Install chart from repository

  1. Add the Hydrosphere repo;

    $ helm repo add hydrosphere https://hydrospheredata.github.io/hydro-serving/helm 
    
  2. Install the chart from repo to the cluster.

    $ helm install --name serving --namespace hydrosphere hydrosphere/serving
    

Install chart from releases

  1. Install the chart from the releases page.
    helm install --name serving --namespace hydrosphere https://github.com/Hydrospheredata/hydro-serving/releases/download/2.2.1/helm.serving-2.2.1.tgz
    

Install chart using manual build

  1. Clone the repository.

    $ git clone https://github.com/Hydrospheredata/hydro-serving.git
    $ cd hydro-serving/helm
    
  2. Build dependencies.

    $ helm dependency build serving
    
  3. Install the chart.

    $ helm install --name serving --namespace hydrosphere
    

After the chart has been installed, you have to expose an ui component outside of the cluster. For the sake of simplicity, we will just port-forward it locally.

kubectl port-forward -n hydrosphere svc/hydro-serving-ui-serving 8080:9090

To check installation, open http://localhost:8080/.