Skip to content

get

Usage

The rapd clusterclass command is used to retrieve Clusterclass resources.

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

Flags

These are the flags available in the rapd clusterclass 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 clusterclass get command:

  1. Retrieve a Clusterclass by specifying its name:
Terminal window
rapd clusterclass get gcp
  1. Output the full spec:
Terminal window
rapd clusterclass get gcp -o yaml

Output

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

Terminal window
NAMESPACE NAME
rapd-system gcp
rapd-system aws