Install Workload Map
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:
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
- Download the archive for your platform from the releases page. Each release publishes archives for Linux and macOS on amd64 and arm64.
- Check the archive against the
checksums.txtfile in the same release. - Put the
kliexecutable on yourPATH.
Verify the kli Installation
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.
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:
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
-
Install the Karta Operator and the
KartaCRD with the Helm chart:Replace
<version>with a chart version from the releases page. -
To verify the installation, check that the Karta Operator pod is running and that the
KartaCRD exists:
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.