Elasticsearch rolling upgrade

Step 1: Disable shard allocation PUT _cluster/settings { “transient”: { “cluster.routing.allocation.enable”: “none” } } Step 2: Stop non-essential indexing and perform a synced flush (Optional) POST _flush/synced Step 3: Stop and upgrade a single node # stop elasticsearch and kibana sudo service elasticsearch stop sudo service kibana stop # remove plugins, if installed sudo bin/plugin…

Continue reading