Link Search Menu Expand Document

The Open Distro project is archived. Open Distro development has moved to OpenSearch. The Open Distro plugins will continue to work with legacy versions of Elasticsearch OSS, but we recommend upgrading to OpenSearch to take advantage of the latest features and improvements.

Docker upgrade

If you use the Docker image, we highly recommend that you perform what amounts to a cluster restart upgrade. This process requires downtime, but takes very few steps and avoids problems with individual nodes rejoining the cluster and executing commands within containers.

The most important step is to leave your data volumes intact. Don’t run docker-compose down -v.

  1. Update the version strings in docker-compose.yml. You can perform this step while the cluster is running. For more information, see Sample Docker Compose file.

  2. Recreate the cluster using the updated file:

    docker-compose up
    
  3. Wait for the cluster to start, and verify that your cluster returns the new version:

    curl -XGET https://localhost:9200 -u 'admin:admin' -k
    
  4. Verify cluster health and the expected number of containers and nodes:

    curl -XGET https://localhost:9200/_cat/health?v -u 'admin:admin' -k
    docker ps
    
  5. Open Kibana, and verify that your data is present.