Skip to content

cub unit livedata

cub unit livedata

Show the LiveData of a unit

Synopsis

Display the LiveData YAML of a unit, which includes the inventory ConfigMap used for tracking applied resources and the actual Kubernetes resources.

The inventory ConfigMap appears at the beginning of the LiveData and contains:

  • Labels: cli-utils.sigs.k8s.io/inventory-id
  • Annotations: config.k8s.io/function: inventory
  • Data: Object references for pruning and lifecycle management
cub unit livedata unit-slug-or-id [flags]

Options

  -d, --decode           Decode base64 LiveData (default: true) (default true)
  -h, --help             help for livedata
  -i, --inventory-only   Show only the inventory ConfigMap
  -o, --output string    Output LiveData to file

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