get
Usage
The rapd release command is used to retrieve Release resources.
rapd release get (Name...) [flags]Flags
These are the flags available in the rapd release get command:
| Flag Name | Short Name | Default Value | Required | Description |
|---|---|---|---|---|
--output | -o | No | Output the full resource spec in a readable format, such as YAML or JSONL. | |
--label | -l | No | Retrieve resources matching the specified label | |
--field | No | Retrieve resources matching the specified field | ||
--all-namespaces | -A | No | Query resources across all namespaces | |
--ignore-not-found | No | Ignore errors when the resource does not exist (returns exit code 0) |
Examples
Here are some examples of using the rapd release get command:
- Retrieve a specific Release by name (in the default environment):
rapd release get r1 -e default-env- Output the full Release spec:
rapd release get r1 -e default-env -o yamlOutput
After successfully executing the command, the output will look similar to the following:
NAMESPACE NAME PHASE REVISIONtest r1 Deployed 1test r2 Deploying 5