Install HKube CLI

Overview#

hkubectl is the HKube command-line tool used for managing and interacting with pipelines, algorithms, and configurations in your Kubernetes cluster.
It supports various commands to streamline the development and deployment of workflows.


Command Syntax#

hkubectl [type] [command] [name]

Getting Help To see the full list of available commands, run:

hkubectl --help

Setup#

Step 1: Download and Install hkubectl#

1. Set your operating system:

export os="linux" # or macos

2. Download and install:

  curl -Lo hkubectl hkube-domain.com/hkubectl_files/hkubectl-${os} \
  && chmod +x hkubectl \
  && sudo mv hkubectl /usr/local/bin/

For Windows, download hkubectl-win.exe from here.


Step 2: Configure HKube#

  1. Set the HKube API endpoint:
    hkubectl config set endpoint <domain>

    Replace <domain> with the domain in your URL when accessing HKube.

  2. Handle self-signed certificates (if applicable):
    hkubectl config set rejectUnauthorized false
  3. Login to your HKube user:
    hkubectl config set username <your_username>
    hkubectl config set password <your_password>
  4. Verify hkubectl configuration: Ensure hkubectl is correctly configured and connected to your cluster by running for example:
    hkubectl algorithm list

Note:
HKube requires certain pods to run with privileged security permissions.
Consult your Kubernetes installation documentation for guidance.

Next →Algorithms