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 ${KUBERNETES-MASTER-IP}
  2. Handle self-signed certificates (if applicable):
    hkubectl config set rejectUnauthorized false
  3. Verify Kubernetes configuration: Ensure kubectl is correctly configured to connect to your cluster:
    kubectl get nodes

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

Next →API