Skip to main content

targon get

The targon get command and its subcommands let you inspect the state and events of a workload.

targon get state

Get the current state of a workload.

targon get state <UID>

Arguments

  • UID: The workload UID to inspect.

The output includes the workload's UID, type, status, message, replica counts, last updated time, and any associated URLs.

targon get events

Get events for a workload.

targon get events <UID> [OPTIONS]

Arguments

  • UID: The workload UID to fetch events for.

Options

  • --limit: Limit the number of events returned.
  • --cursor: Pagination cursor for fetching the next page of events.

The output is a table of events showing the creation time, event type, status, message, and pod name. If more events are available, a pagination cursor is printed for use in subsequent calls.