TrivadisPF / platys-modern-data-platform

Support for generating modern platforms dynamically with services such as Kafka, Spark, Streamsets, HDFS, ....
Apache License 2.0
68 stars 15 forks source link

cheatsheet steps for update to latest version without loose data #562

Open johnfelipe opened 1 year ago

johnfelipe commented 1 year ago

Can u explain how can update actual stack to latest version, with all his functions, but without loose data already in cassandra, airflow and all other services already initialized

johnfelipe commented 1 year ago

i do this steps

      platys:
          platform-name: 'demo-platform'
          platform-stack: 'trivadis/platys-modern-data-platform'
          #platform-stack-version: '1.15.0'
          platform-stack-version: '1.16.0-preview'
          structure: 'flat'

next

platys gen

docker-compose up -d

is any steps for do it correclty?

gschmutz commented 1 year ago

@johnfelipe this is correct, you just have to be careful that the container is not rebuild, otherwise you will lose the data, except if it is mapped outside the container, which is support for some of the services (container) but not for all of them (look for the config setting XXXXX_volume_map_data and set it to true). I can write a cheatsheet showing that, good idea!

johnfelipe commented 1 year ago

Ping me when cheatsheet is done for translate to es, it and fr