Installation
The Hydrosphere platform can be installed in the following orchestrator's:
  1. 1.
    ​Docker Compose​
  2. 2.
    ​Kubernetes​

Docker installation

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

Install from releases

  1. 1.
    Download the latest 3.0.0 release from the releases page:
1
export HYDROSPHERE_RELEASE=3.0.0
2
wget -O hydro-serving-${HYDROSPHERE_RELEASE}.tar.gz https://github.com/Hydrospheredata/hydro-serving/archive/${HYDROSPHERE_RELEASE}.tar.gz
Copied!
  1. 1.
    Unpack the tar ball:
1
tar -xvf hydro-serving-${HYDROSPHERE_RELEASE}.tar.gz
Copied!
  1. 1.
    Set up an environment:
1
cd hydro-serving-${HYDROSPHERE_RELEASE}
2
docker-compose up
Copied!

Install from source

  1. 1.
    Clone the serving repository:
    1
    git clone https://github.com/Hydrospheredata/hydro-serving
    Copied!
  2. 2.
    Set up an environment:
    1
    cd hydro-serving
    2
    docker-compose up -d
    Copied!
To check the installation, open http://localhost/. By default, Hydrosphere UI is available at port 80.

Kubernetes installation

By default, Hydrosphere spins up a minimal installation applicable only for testing purposes. Consult this document for details about deploying production-ready Hydrosphere instance.
To install Hydrosphere on the Kubernetes cluster you should have the following prerequisites fulfilled.
  • ​Helm 3.0+​
  • PV support on the underlying infrastructure (if persistence is required)
  • Docker registry with pull/push access (if the built-in one is not used)

Install from charts repository

  1. 1.
    Add the Hydrosphere charts repository:
    1
    helm repo add hydrosphere https://hydrospheredata.github.io/hydro-serving/helm
    Copied!
  2. 2.
    Install the chart from repo to the cluster:
    1
    helm install --name serving --namespace hydrosphere hydrosphere/serving
    Copied!

Install from source

  1. 1.
    Clone the repository:
    1
    git clone https://github.com/Hydrospheredata/hydro-serving.git
    2
    cd hydro-serving/helm
    Copied!
  2. 2.
    Build dependencies:
    1
    helm dependency build serving
    Copied!
  3. 3.
    Install the chart:
    1
    helm install --namespace hydrosphere serving
    Copied!
After the chart has been installed, you have to expose the ui component outside of the cluster. For the sake of simplicity, we will just port-forward it locally.
1
kubectl port-forward -n hydrosphere svc/serving-ui 8080:9090
Copied!
To check the installation, open http://localhost:8080/.
Last modified 3mo ago