Install Hkube

Prerequisites #


1) Install Kubernetes or Minikube or microk8s

Make sure kubectl is configured to your cluster.
For collecting algorithm logs, and to create builds, Hkube requires that certain pods will run in privileged security permissions. Consult your kubernetes installation to see how to do that.

TL;DR; #

$ helm repo add hkube http://hkube.io/helm/
$ helm install hkube/hkube

Introduction #

The chart is hosted in http://hkube.io/helm/ To add the repo to your helm run

$ helm repo add hkube http://hkube.io/helm/

Installing the Chart #

To install the chart with the release name my-release:

$ helm install hkube/hkube --name my-release

This command installs hkube in a minimal configuration for development. See below for production install.

Uninstalling the Chart #

$ helm delete my-release

Configuration #

There are two modes to install hkube:
1. minimal install for development one node cluster (minikube, microk8s) minimal third-party (etcd, redis, jaeger-all-in-one, minio, etc...)
2. production deployment etcd cluster (using etcd-operator) redis-ha (using sentinel) * full jaeger deployment

Production deployment #

prerequisites #

  1. hkube uses s3 for storage. The minimal installation uses minio hosted in the cluster. For production installations it is recommended to create a dedicated s3 server.

configuration #

ParameterDescriptionDefault
global.storage.minio.access_keyaccess key for s3hkubeminiokey
global.storage.minio.secret_keysecret key for s3hkubeminiosecret
global.storage.minio.urlaccess url for s3http://minio-service:9000
global.productionflag to switch to production installfalse
global.clusterNamethe name of the kubernetes clustercluster-local
$ helm install hkube/hkube \ 
--set global.production=true \ 
--set global.clusterName=dev \ 
--set global.storage.minio.url=http://192.168.10.10:9000 \ 
--set global.storage.minio.access_key=accesskey \ 
--set global.storage.minio.secret_key=secretkey 
--name my-release
Next →API