CLI Reference

The KTube CLI is a single binary that includes everything you need to install and manage KTube.

Included: Kubernetes client, Helm SDK, and Kind - no external dependencies required.

Commands

CommandDescription
ktube installInstall KTube to the cluster
ktube uninstallRemove KTube from the cluster
ktube upgradeUpgrade KTube to latest version
ktube dashboardOpen the KTube dashboard
ktube statusCheck KTube installation status
ktube cluster createCreate local Kind cluster
ktube cluster deleteDelete local Kind cluster
ktube versionPrint version information

ktube install

Install KTube operator and dashboard to your cluster.

$ ktube install [flags]

Flags

FlagDescriptionDefault
--namespace, -nTarget namespacektube-system
--setSet Helm values-
-f, --valuesValues file path-
--versionInstall specific versionlatest

Examples

# Basic install
$ ktube install
# Custom namespace
$ ktube install -n my-namespace
# With custom values
$ ktube install --set operator.replicas=2

ktube dashboard

Open the KTube dashboard in your browser.

$ ktube dashboard

This starts a port-forward to the dashboard and opens https://console.ktube.dev in your browser.

ktube cluster create

Create a local Kind cluster for development.

$ ktube cluster create [flags]

Flags

FlagDescriptionDefault
--nameCluster namektube
--imageKind node imagekindest/node:latest

Shell Completions

# Bash
$ source <(ktube completion bash)
# Zsh
$ source <(ktube completion zsh)
# Fish
$ ktube completion fish | source

Related