<#3266 Update flyte-sandbox subcharts and add supp...
# flyte-github
a
#3266 Update flyte-sandbox subcharts and add support for data persistence a… Pull request opened by jeevb …cross clusters Signed-off-by: Jeev B jeevb@users.noreply.github.com @thankful-minister-83577 proposed that users might want their database and object storage data persisted across sandbox clusters. This is especially useful when upgrading to a newer sandbox version, which would require a teardown of the old version and creation of the new version. This PR adds a new path
/var/lib/flyte
where data with persistence requirements might be stored. HostPath PV/PVCs are also created for PostgreSQL and Minio at
/var/lib/flyte/storage/db
and
/var/lib/flyte/storage/minio
respectively. Mounting a pre-created (via
docker volume create flyte-sandbox
) docker volume to
/var/lib/flyte
will ensure that data will persist across different cluster versions, for as long as the docker volume exists. TODO: Logic will need to be added to
flytectl
to manage the lifecycle of the docker volume, and ensure that it is correctly mounted into the sandbox cluster. flyteorg/flyte All checks have passed 11/11 successful checks