holoinsight icon indicating copy to clipboard operation
holoinsight copied to clipboard

Workload in holoinsight-server should use persistent storage volume

Open ideal opened this issue 2 years ago • 1 comments

Describe this problem

In holoinsight-server, there are ceresdb, es, mongo, mysql, prometheus, currently none declares using persistent volume claim, so it fallbacks to anonymous docker volume specified in Dockerfile.

But if you delete the pod to restart it, or the pod is shifted to other node, the data will be lost, e.g. for holoinsight-mysql-0.

To Reproduce

kubectl delete po -n holoinsight-server holoinsight-mysql-0

Expected behavior

mysql data should be retained, but if you login into mysql, the databases and tables disappear.

Additional Information

No.

ideal avatar Sep 07 '23 04:09 ideal

Hi @ideal . Thanks for the feedback. As you said. The Chart currently provided is not enough for production-level deployment. Some improvements are needed in the future.

xzchaoo avatar Sep 20 '23 08:09 xzchaoo