mirantis/ucp uninstall-ucp

Use this command to uninstall MKE from this swarm, but preserve the swarm so that your applications can continue running.

After MKE is uninstalled, you can use the docker swarm leave and docker node rm commands to remove nodes from the swarm.

Once MKE is uninstalled, you will not be able to join nodes to the swarm unless MKE is installed again.

Usage

docker container run --rm -it \
       --name ucp \
       -v /var/run/docker.sock:/var/run/docker.sock \
       mirantis/ucp \
       uninstall-ucp [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.

--id value

The ID of the MKE instance to uninstall.

--pull value

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

--purge-config

Remove MKE configs during uninstallation.

--registry-password value

Password to use when pulling images.

--registry-username value

Username to use when pulling images.

--unmanaged-cni

Specify that MKE was installed in Unmanaged CNI mode. When the parameter is supplied to the uninstaller no attempt is made to clean up /etc/cni, thus any user-supplied CNI configuration files persist in their original state.