upgrade-deployment

subtitle

Upgrades a deployment to a different chart.

version

0.9.109

Description

Upgrades a deployment to a different chart.

Synopsis

  upgrade-deployment
--cluster-crn <value>
--namespace <value>
--name <value>
[--chart-version <value>]
[--overrides <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.

--chart-version (string)

The version of the deployment to upgrade to. Defaults to latest version.

--overrides (string)

Escaped JSON overrides for the deployment’s properties.

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

name -> (string)

The name of the deployment.

namespace -> (string)

The namespace of the deployment.

revision -> (integer)

Helm revision.

message -> (string)

A message returned about the status of the upgrade operation.

status -> (string)

Status of the deployment. Currently supported values are UNKNOWN, DEPLOYED, UNINSTALLED, SUPERSEDED, FAILED, PENDING-INSTALL, PENDING-UPGRADE and PENDING-ROLLBACK. New values may be added in the future.

chart -> (object)

Chart structure.

applicationVersion -> (string)

The version (usually of the images) of the components being deployed.

deploymentVersion -> (string)

The version of this chart (which is not the version of the components being deployed).

description -> (string)

The chart description.

name -> (string)

The chart name.

values -> (string)

Escaped JSON for values.yaml of that chart.

Form Factors

public, private