get
Usage
The rapd clusterclass
command is used to retrieve Clusterclass resources.
rapd clusterclass get (Name...) [flags]
Flags
These are the flags available in the rapd clusterclass get
command:
Flag Name | Short Name | Default Value | Required | Description |
---|---|---|---|---|
--output | -o | No | Output the full spec of the resource in a readable file, such as YAML or JSONL format. | |
--label | -l | No | Retrieve resources matching the specified label | |
--field | No | Retrieve resources matching the specified field | ||
--all-namespaces | -A | No | Query resources in all environments | |
--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 clusterclass get
command:
- Retrieve a Clusterclass by specifying its name:
rapd clusterclass get gcp
- Output the full spec:
rapd clusterclass get gcp -o yaml
Output
After successfully executing the command, the output will look similar to the following:
NAMESPACE NAMErapd-system gcprapd-system aws