cub unit get
cub unit get
Get details about an unit
Synopsis
Get detailed information about a unit in a space including its configuration, status, and metadata.
Examples:
# Get details about a namespace unit
cub unit get --space my-space --json my-ns
# Get details about a deployment unit
cub unit get --space my-space --json my-deployment
# Get details about a headlamp application unit
cub unit get --space my-space --json headlamp
# Get only the configuration data of a unit
cub unit get --space my-space --data-only my-deployment
cub unit get --space my-space --json my-ns
cub unit get <name or id> [flags]
Options
--data-only show config data without other response details
--display-mutations display resource mutations
--filename string write config data to file instead of stdout (only works with --data-only)
-h, --help help for get
--jq string jq expression, suppressing default output
--json JSON output, suppressing default output
--quiet No default output.
--select string Comma-separated list of fields to retrieve and display. Entity IDs and Slug are always included. Example: "DisplayName,CreatedAt,Labels"
--verbose Detailed output, additive with default output
--web Open in web UI instead of executing
--yaml YAML output, suppressing default output
--yq string yq expression, suppressing default output
Options inherited from parent commands
--context string The context to use for this command
--debug Debug output
--space string space ID to perform command on
SEE ALSO
- cub unit - Unit commands