Difficulty: beginner
Estimated Time: 10-20 minutes

Welcome to your first steps in hkube world we believe that you already familiar with kubernetes and docker.

So you probably asking What is HKUBE ?

Hkube is an open source, language agnostic framework to run distributed pipeline of algorithms that is built on Kubernetes. Hkube allows to run pipelines of algorithms on kubernetes cluster optimally utilizing the available resources, based on user priorities and other automatic heuristics.

The pipeline is described with a simple Json that defines the flow of computation between algorithm building blocks.

READY TO START :) ?

You've completed your first Katacoda scenario!

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Hkube installation

Step 1 of 6

Install Prerequisite

lets start by installing hkube on kubernetes

wait for prerequisite installation

  1. node.js - needed for hkube installation
  2. install helm - for third party installation
  3. cloning hkube charts

test prerequisite are ok

  1. run kubectl get nodes - wait for node to be on ready state( it should take something like 1 minute)
  2. run node --version - version should be 10.x
  3. run helm init
  4. run helm version- verify that helm installed correctly (client and server should be found)
  5. lets add labels to our kubernetes cluster we have to selectors one for hkube core modules and the second is for nodes you wish to run your algorithms. for this tutorial since we have only one node we will set it as core and as a worker for doing it we should run kubectl label node master core=true worker=true
  • final step is to add secret to our s3 kubectl create secret generic s3-secret --from-literal="awsKey=AKIAIOSFODNN7EXAMPLE" --from-literal="awsSecret=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" --from-literal="awsEndpointUrl=http://third-party-minio:9000"

important dont continue until all previous steps done successfully.

now we ready to start the journey :)