I started the elasticsearch cluster with docker-compose, and I wanted to upgrade from 7.9.1 to 7.10.0. There is already some data(Advanced Settings,Spaces,Saved Objects) on kibana. How to upgrade the cluster without losing data?
If I try to modify ' image: elasticsearch:7.9.1>> image: elasticsearch:7.10.0 '
Can elasticsearch continue to use the data generated in 7.9.1?
version: '3.6' services: elasticsearch: image: elasticsearch:7.9.1 container_name: elasticsearch-docker environment: - node.name=es-docker - cluster.name=es-single-node - discovery.type=single-node - bootstrap.memory_lock=false - "ES_JAVA_OPTS=-Xms2G -Xmx2G" ulimits: memlock: soft: -1 hard: -1 volumes: - /home/esdata/:/usr/share/elasticsearch/data ports: - 9200:9200 - 9300:9300 networks: - elastic kibana: image: kibana:7.9.1 container_name: kibana environment: - "ELASTICSEARCH_URL=http://elasticsearch:9200" depends_on: - elasticsearch ports: - "5601:5601" networks: - elastic