repair-cluster

subtitle

Repairs a cluster.

version

0.9.128

Description

Repairs a cluster.

Synopsis

  repair-cluster
--cluster-name <value>
[--instance-group-names <value>]
[--instances <value>]
[--remove-only | --no-remove-only]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--cluster-name (string)

The name or CRN of the cluster to be repaired.

--instance-group-names (array)

List of instance groups where the failed instances will be repaired.

Syntax:

"string" "string" ...

--instances (object)

Details for repair instances.

instanceIds -> (array)

List of instance ids.

item -> (string)

deleteVolumes -> (boolean)

The existing disk volumes on the instances will be re-created if the deleteVolumes is true. Otherwise, the volumes will be reattached to the new instances.

Shorthand Syntax:

instanceIds=string,string,deleteVolumes=boolean

JSON Syntax:

{
  "instanceIds": ["string", ...],
  "deleteVolumes": true|false
}

--remove-only | --no-remove-only (boolean)

If true, the failed instances will only be removed, otherwise the failed instances will be removed and new instances will be started.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

Form Factors

public