rollback-deployment

subtitle

Rollbacks a deployment to a previous revision

version

0.9.111

Description

This will perform a rollback.

Synopsis

  rollback-deployment
--cluster-crn <value>
--namespace <value>
--name <value>
[--revision <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--cluster-crn (string)

Compute cluster CRN.

--namespace (string)

The namespace of the deployment.

--name (string)

The name of the deployment.

--revision (integer)

The revision of the deployment to rollback to. Defaults to previous revision.

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

A message returned about the status of the rollback operation.

Form Factors

public