RiseML's cluster components are installed with the package manager Helm.
Since RiseML is installed in its own Kubernetes namespace,
riseml, you need to create it first (unless you already created it during GlusterFS setup):
$ kubectl create namespace riseml namespace "riseml" created
All experiments will be created and run in this namespace.
Next, you need to add RiseML's Helm repository to your local installation:
$ helm repo add riseml-charts https://cdn.riseml.com/helm-charts "riseml-charts" has been added to your repositories
Before installing or upgrading, please also check the release notes of the current version for upgrade or installation information. Finally, you can install RiseML using the configuration file prepared in the previous step:
$ helm install riseml-charts/riseml --name riseml --namespace riseml -f riseml-config.yml
Helm will fire up your RiseML cluster and output what it has done. Furthermore, it prints a small script that you have to execute to be able to configure the client later on. It looks like this:
... NOTES: To get the information required to login with the CLI, execute the following: echo "export RISEML_ENDPOINT=http://$(kubectl get service ingress-service -n riseml -o yaml | grep "hostname:" | grep -o '[^ ]*$'):$(kubectl get service ingress-service -n riseml -o yaml | grep "port:" | grep -o '[^ ]*$')" && \ echo "export RISEML_SYNC_ENDPOINT=rsync://$(kubectl get service sync-service -n riseml -o yaml | grep "hostname:" | grep -o '[^ ]*$'):$(kubectl get service sync-service -n riseml -o yaml | grep "port:" | grep -o '[^ ]*$')/sync" && \ echo "Use the following to login via 'riseml user login'" && \ echo "Your RiseML API key: XXXXXXYYYYYYZZZZZZ" && \ echo "Your RiseML API endpoint: $RISEML_ENDPOINT && \ echo "Your RiseML sync endpoint: $RISEML_SYNC_ENDPOINT
If you installed using the nodePorts option the output above may look slightly different.
Before executing this script, you should wait until all Pods switch to a
$ watch -n 1 kubectl get pods -n=riseml
When finished, you can execute the script. Its output will be some information that you have to enter on the client machines later on:
Use the following to login via 'riseml user login' Your RiseML API key: XXXXXXYYYYYYZZZZZZ Your RiseML API endpoint: 192.168.99.100:31213 Your RiseML sync endpoint: 192.168.99.100:31876
Next, you can continue with installing the Command-Line Interface.