Skip to content

get

Usage

The rapd release command is used to retrieve Release resources.

Terminal window
rapd release get (Name...) [flags]

Flags

These are the flags available in the rapd release get command:

Flag NameShort NameDefault ValueRequiredDescription
--output-oNoOutput the full resource spec in a readable format, such as YAML or JSONL.
--label-lNoRetrieve resources matching the specified label
--fieldNoRetrieve resources matching the specified field
--all-namespaces-ANoQuery resources across all namespaces
--ignore-not-foundNoIgnore errors when the resource does not exist (returns exit code 0)

Examples

Here are some examples of using the rapd release get command:

  1. Retrieve a specific Release by name (in the default environment):
Terminal window
rapd release get r1 -e default-env
  1. Output the full Release spec:
Terminal window
rapd release get r1 -e default-env -o yaml

Output

After successfully executing the command, the output will look similar to the following:

Terminal window
NAMESPACE NAME PHASE REVISION
test r1 Deployed 1
test r2 Deploying 5