Skip to content

HOWTO switch of elasticsearch version with the deployer

Why do that

On the LMC platform with elasticsearch snapshotting mechanism, when you upgrade the elasticsearch version, sometimes you may have a breaking change in your mapping configuration.

To query old data in a specific cluster, you must have the capacity to switch the elasticsearch version.


This procedure is only for this use case. It is not a migration procedure !

What to do

First, add the following settings to your

"elasticsearch" : {
    "clusters" : {
        "<cluster_id>" : {
            "override_elasticsearch_version" : "elasticsearch-X.Y.Z"

Then redeploy the specific cluster --deploy -Kk -t elasticsearch -l <cluster_id>


To keep the current version, just remove the new section and redeploy