manage update-cr

Update the contents of the custom resources for the specified component.

Extended description

Important: Do not run this command unless explicitly instructed to do so. You must have specific information about the change to apply to the custom resource.

Syntax

cpd-cli manage update-cr \
--component=<component-name> \
--patch=<patch-to-apply-to-the-spec> \
[--cpd_instance_ns=<project-name>] \
[--cluster_component_ns=<project-name>] \
[-v][-vv][-vvv]

Arguments

The update-cr command has no arguments.

Options

Table 1: Command options
Option Description
--cluster_component_ns The project where the cluster-wide component that you want to modify is installed.
Status
Required if you want to modify the custom resource of a cluster-wide component, such as the scheduling service.
Syntax
--cluster_component_ns=<project-name>
Default value
No default.
Valid values
The project where the cluster-wide component that you want to modify is installed.
--component The component that identifies the custom resource that you want to update.
Status
Required.
Syntax
--component=<component-name>
Default value
No default.
Valid values
For the list of components, see Component IDs.
--cpd_instance_ns The project (namespace) where the component is installed.
Status
Required if you want to modify the custom resource of a component that is installed in the operands project for the instance.
Syntax
--cpd_instance_ns=<project-name>
Default value
No default. User-defined.
Valid values
The project (namespace) where the component is installed.
--patch The change to make to the spec portion of the custom resource.
Status
Required.
Syntax
--patch=<patch-to-apply-to-the-spec>
Default value
No default.
Valid values
This information will be provided when you are instructed to run the update-cr command.
-v
-vv
-vvv
Display verbose output.

Options are listed from least verbose to the most verbose.

Status
Optional.
Syntax
Verbose output
-v
Very verbose output
-vv
Most verbose output
-vvv
Default value
Not applicable.
Valid values
Not applicable.

Examples

No examples are available. The exact command that you need to run will be provided to you.