It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
elastic-cloud-enterprise.sh add-stack-version
editelastic-cloud-enterprise.sh add-stack-version
editNAME
bash elastic-cloud-enterprise.sh add-stack-version — Make a new Elastic Stack version available
SYNOPSIS
bash elastic-cloud-enterprise.sh add-stack-version [--host-docker-host "PATH_NAME/docker.sock"] [--secrets PATH_TO_SECRETS_FILE] [--pass PASSWORD] [--user USER_NAME] [--version X.Y.Z] [[--]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 a part of an existing Elastic Cloud Enterprise installation.
DESCRIPTION
Downloads and adds a new Elastic Stack version from Elastic and makes it available on your Elastic Cloud Enterprise installation.
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.
-
--secrets
PATH_TO_SECRETS_FILE
-
Specifies a path to a file with secrets. If not specified, attempts to use
HOST_STORAGE_PATH/bootstrap-state/bootstrap-secrets.json
, whereHOST_STORAGE_PATH
is the host storage path used by the Elastic Cloud Enterprise installation. -
--user
USER_NAME
-
Specifies the user whose password is changed. Defaults to
admin
. -
--pwd
NEW_PASSWORD
- Specifies a new password for the user specified. Defaults to generating a new strong password.
- --version X.Y.Z
-
Specifies a supported Elastic Stack version, where
Z
is the major version,Y
is the minor version, andZ
is the patch level (5.4.0
, for example).
Example
editAdd the Elastic Stack version 5.4.0 to an existing Elastic Cloud Enterprise installation:
bash elastic-cloud-enterprise.sh add-stack-version --version 5.4.0 --user admin --pass pGX5DwKzVAAIeCIpTwwAkCuJDu0ASdFP33UmYpfogfF