Skip to content

get

Usage

The rapd cloud command is used to retrieve Cloud resources.

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

Flags

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

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

Examples

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

  1. Retrieve a Cloud resource by specifying its name:
Terminal window
rapd cloud get gcp-credential
  1. Output the full spec of a Cloud resource:
Terminal window
rapd cloud get gcp-credential -o yaml

Output

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

Terminal window
NAMESPACE NAME PROVIDER PHASE
rapd-system c1 aws Ready
rapd-system c2 gcp Ready