lets start by installing hkube on kubernetes
wait for prerequisite installation
- node.js - needed for hkube installation
- install helm - for third party installation
- cloning hkube charts
test prerequisite are ok
- run
kubectl get nodes
- wait for node to be on ready state( it should take something like 1 minute) - run
node --version
- version should be 10.x - run
helm init
- run
helm version
- verify that helm installed correctly (client and server should be found) - 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 :)