mirantis/ucp upgrade

Use this command to upgrade the MKE cluster.

Before performing an upgrade, you should perform a backup using the backup command.

After upgrading MKE, browse to the MKE web UI and confirm that each node is healthy and that all nodes have been upgraded successfully.

Usage

docker container run --rm -it \
       --name ucp \
       -v /var/run/docker.sock:/var/run/docker.sock \
       mirantis/ucp \
       upgrade [command options]

Options

Option

Description

--debug, -D

Enable debug mode

--jsonlog

Produce json formatted output for easier parsing.

--interactive, -i

Run in interactive mode and prompt for configuration values.

--admin-password value

The MKE administrator password.

--admin-username value

The MKE administrator username.

--force-minimums

Force the install/upgrade even if the system does not meet the minimum requirements.

--host-address value

Override the previously configured host address with this IP or network interface.

--id value

The ID of the MKE instance to upgrade.

--manual-worker-upgrade

Whether to manually upgrade worker nodes (default: false).

--pull value

Pull MKE images: always, when missing, or never,

--registry-password value

Password to use when pulling images.

--registry-username value

Username to use when pulling images.

--force-recent-backup

Force upgrade even if the system does not have a recent backup (default: false).

checks subcommand

Use the checks subcommand to run the pre-upgrade checks on your cluster.

Usage

docker container run --rm -it \
       --name ucp \
       -v /var/run/docker.sock:/var/run/docker.sock \
       mirantis/ucp \
       upgrade checks [command options]

Options

Option

Description

--debug, -D

Enable debug mode

--jsonlog

Produce json formatted output for easier parsing.

--interactive, -i

Run in interactive mode and prompt for configuration values.

--admin-password value

The MKE administrator password.

--admin-username value

The MKE administrator username.

--id value

The ID of the MKE instance to upgrade.

--pull value

Pull MKE images: always, when missing, or never,

--registry-password value

Password to use when pulling images.

--registry-username value

Username to use when pulling images.