Skip to navigation

Install Workload Map

View as MarkdownOpen in Claude

This page explains how to install each Workload Map component: the kli CLI, the Go library, and the Karta Operator. The components are independent, so you can install any one of them without the others. Before you install a component, check its requirements in Prerequisites.

Install the kli CLI

Install with Homebrew

On macOS or Linux, add the repository as a Homebrew tap by its URL, then install kli by its full name:

brew tap dsx-ai-factory/kli https://github.com/dsx-ai-factory/workload-map
brew install dsx-ai-factory/kli/kli

The URL is required because the short form of brew tap resolves only repositories named homebrew-<name>. To install a later release, run brew upgrade kli.

Install a Prebuilt Archive

  1. Download the archive for your platform from the releases page. Each release publishes archives for Linux and macOS on amd64 and arm64.
  2. Check the archive against the checksums.txt file in the same release.
  3. Put the kli executable on your PATH.

Verify the kli Installation

kli --version

The command prints the release version. For shell completion and for installing from a clone of the repository, refer to Inspect Workloads with the CLI.

go install is not supported

Do not install kli with go install. The CLI module builds against the library in the same commit through a replace directive, which go install refuses.

Install the Go Library

Add the library to your Go module:

go get github.com/dsx-ai-factory/workload-map/karta/sdk@latest
Moved module path

Releases up to v0.2.x published the library as github.com/dsx-ai-factory/workload-map. To move to the new path, require github.com/dsx-ai-factory/workload-map/karta/sdk and change your imports from github.com/dsx-ai-factory/workload-map/pkg/... to github.com/dsx-ai-factory/workload-map/karta/sdk/pkg/....

Install the Karta Operator

  1. Install the Karta Operator and the Karta CRD with the Helm chart:

    helm upgrade --install karta oci://ghcr.io/dsx-ai-factory/workload-map/karta \
    --version <version> \
    -n karta-system --create-namespace

    Replace <version> with a chart version from the releases page.

  2. To verify the installation, check that the Karta Operator pod is running and that the Karta CRD exists:

    kubectl -n karta-system get pods
    kubectl get crd kartas.run.ai

To change the certificate mode or run the Karta Operator in FIPS mode, refer to Webhook Certificates and FIPS 140-3. To change other chart values, refer to Helm Chart Values.