upgrade-service

subtitle

Trigger a particular step (prepare, backup, upgrade, resume) of the upgrade framework.

version

0.9.126

Description

Trigger a particular step (prepare, backup, upgrade, resume) of the multi-step upgrade process. Use get-upgrade-status to know what is the next step to take.

Synopsis

  upgrade-service
--cluster-id <value>
--step <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--cluster-id (string)

Cluster ID of the service to upgrade.

--step (string)

The maintenance step to be performed. Currently supported steps are prepare, backup, upgrade, cancel and resume.

Possible values:

  • prepare

  • backup

  • upgrade

  • cancel

  • resume

--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

message -> (string)

The status message of upgrade operation.

Form Factors

public, private