> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/workload-map/llms.txt.

# Key Features of Workload Map

> Learn about the key features of NVIDIA Workload Map, including declarative workload definitions, a common status vocabulary, a catalog of pre-built definitions, and the kli CLI.

Workload Map offers the following key features, grouped by what they help you do.

## Describe and Read Workloads

| Feature | Description |
| --- | --- |
| Describe any workload type | A declarative definition maps the pod specifications, scaling parameters, and status fields of a workload with JQ path expressions. You do not write per-type code. |
| One API to read and change workloads | The Go library extracts pod templates, replica counts, status, and metadata. It also updates pod specs, labels, and annotations through the same calls for every workload type. |
| Pod attribution | The library traverses the workload hierarchy to identify the pods of each component and group them. |
| Workload tree | The full hierarchy of a workload, with its structure, scale, specs, and status. |

## Common Status Vocabulary

The native conditions of each workload map to one set of statuses. The suspend and resume statuses let a definition describe workloads that can be paused.

| Group | Statuses |
| --- | --- |
| Starting and running | Initializing, Running |
| Finished | Completed, Failed |
| Needs attention | Degraded, Undefined |
| Pausing | Suspending, Suspended, Resuming |

## Scheduling

| Feature | Description |
| --- | --- |
| Gang scheduling instructions | A definition can tell a scheduler how to group the pods of a workload. KAI Scheduler uses these instructions as a default plugin for workload types that have no native plugin. |

## Definitions

| Feature | Description |
| --- | --- |
| Catalog of pre-built definitions | The catalog includes tested definitions for common workload types, such as JobSet, PyTorchJob, MPIJob, RayCluster, LeaderWorkerSet, KServe, NVIDIA NIM, NVIDIA Dynamo, Grove, and Volcano Job. |
| Experimental definitions | A definition can set `spec.experimental: true`. The CLI and the Headlamp plugin exclude it until you enable experimental definitions. The Kueue Workload definition is an example. |
| Definition validation | The library, the `kli validate` command, and the Karta Operator admission webhook check a definition. The webhook also rejects a second definition for the same group, version, and kind. |

## Run and Visualize

| Feature | Description |
| --- | --- |
| Karta Operator and Helm chart | The Karta Operator validates definitions on admission and upgrades the CRD through a Helm chart hook. A FIPS 140-3 mode is available for the Karta Operator. |
| Headlamp plugin | A workloads page in Headlamp shows any workload type through the Workload Map engine. The engine runs in the browser as WebAssembly, so no server-side component is needed. |

## Developer Tools

Workload Map provides the following tools for developers.

### CLI Tools

The `kli` command-line tool inspects workloads through their definitions. It supports table, JSON, and YAML output and shell completion. It has four commands.

| Command | Description |
| --- | --- |
| `get` | Lists workloads. |
| `describe` | Shows the resolved structure and status of a workload, or of a manifest that you have not yet submitted. |
| `definitions` | Lists the definitions from the built-in catalog and the cluster, or outputs one definition by name. |
| `validate` | Checks a definition file. |

### APIs and SDKs

| Component | Description |
| --- | --- |
| Go library | The `karta/sdk` module evaluates definitions, extracts and updates workload information, and builds the workload tree. |
| Karta CRD | The `Karta` custom resource kind in the `run.ai/v1alpha1` API group stores the definition of a workload type in a cluster. |
| WebAssembly engine | The `karta-wasm` module compiles the engine to WebAssembly so that it can run in a browser. |

## Next Steps

- To check what you need before you install, refer to [Prerequisites](/workload-map/getting-started/prerequisites).
- To see Workload Map work, follow the [Quickstart - CLI](/workload-map/getting-started/quickstart-cli) or the [offline Go tutorial](/workload-map/tutorials/read-and-modify-workloads-offline).