Skip to main content

targon workload

Inspect and manage any workload by UID. Alias: wl.

Use targon rental to deploy container rentals and targon vm to deploy confidential VMs. This command group handles cross-type operations: list, inspect, delete, logs, events, and digest verification.

targon workload <COMMAND>

targon workload list

List workloads of any type.

targon workload list [OPTIONS]
FlagDescription
--type <TYPE>Filter by type: rental or vm
--status <STATUS>Filter by lifecycle status (alias: --state)
--project <UID>Filter by project
--name <NAME>Filter by name
--limit <N>Max results (default: 50)
--cursor <CURSOR>Pagination cursor

targon workload get

Show details for a workload, including state, URLs, volumes, and SSH keys.

targon workload get <UID>

targon workload state

Print a workload's current state.

targon workload state <UID>

targon workload delete

Delete a workload.

targon workload delete <UID> [-y]

targon workload logs

Read logs from a workload.

targon workload logs <UID> [OPTIONS]
FlagDescription
--since <TIME>Only logs after this timestamp
--tail <N>Number of recent lines
--previousLogs from the previous container instance
--log-type <TYPE>VM log stream: serial or qemu
-f, --followStream logs until interrupted

targon workload events

Show recent events for a workload.

targon workload events <UID> [--limit <N>] [--cursor <CURSOR>]

Default limit is 20.

targon workload verify

Verify a workload manifest digest.

targon workload verify <UID> <DIGEST>

See the Workloads API for digest format details.