elastic-cloud-enterprise.sh upgrade

edit

NAME

bash elastic-cloud-enterprise.sh upgrade — Upgrade an existing Elastic Cloud Enterprise installation to a new version.

SYNOPSIS

bash elastic-cloud-enterprise.sh upgrade
[--host-docker-host "PATH_NAME/docker.sock"]
[--docker-registry REGISTRY]
[--overwrite-existing-image] [--debug]
[--timeout-factor NUMBER]
[[--]help]

REQUIRED PRIVILEGES

To run this script, a user must be part of the docker group. The host that you run this script on must be the first host that you installed Elastic Cloud Enterprise on or a host that holds the director role.

DESCRIPTION

Upgrades an existing Elastic Cloud installation to a newer version.

PARAMETERS

--host-docker-host /PATH_NAME/docker.sock
Specifies the location of the Docker socket used to communicate with the Docker daemon. Defaults to /var/run/docker.sock.
--docker-registry REGISTRY
Specifies the Docker registry from where Elastic Cloud Enterprise assets are retrieved during installation. Defaults to docker.elastic.co.
--overwrite-existing-image
Overwrites any existing local image when retrieving the Elastic Cloud Enterprise image from the repository. Defaults to false.
--cloud-enterprise-version VERSION_NAME
Specifies the version of Elastic Cloud Enterprise to install. Defaults to :version:.
--debug
If specified, outputs debugging information.
--timeout-factor NUMBER
If specified, increases all timeout values used during installation by multiplying with this number. Defaults to 1.0.

Example

edit

Upgrade an existing Elastic Cloud Enterprise installation to the latest version:

bash elastic-cloud-enterprise.sh upgrade

Upgrade an existing Elastic Cloud Enterprise installation to a specific version:

bash elastic-cloud-enterprise.sh upgrade --cloud-enterprise-version 2.3.2