API

Hkube support two types of APIs, Restful and Cli

Restful API#

Please check out the full Rest API documentation.
Also check the Swagger-UI.

Cli#

hkubectl is a command-line tool that help you to work with hkube more easily.

Download#

export latestVersion="$(curl -s https://api.github.com/repos/kube-HPC/hkubectl/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')"
curl -Lo hkubectl https://github.com/kube-HPC/hkubectl/releases/download/${latestVersion}/hkubectl-linux \
&& chmod +x hkubectl \
&& sudo mv hkubectl /usr/local/bin/

Config#

hkubectl config set endpoint <KUBERNETES-MASTER-IP>
hkubectl config set rejectUnauthorized false

Syntax#

hkubectl [type] [command] [name]

In the next sections you will learn in details about the pipeline definitions.

Next →Algorithms