traas-stack / holoinsight

HoloInsight is a cloud-native observability platform with a special focus on real-time log analysis and AI integration.
Apache License 2.0
318 stars 67 forks source link

Workload in holoinsight-server should use persistent storage volume #647

Open ideal opened 1 year ago

ideal commented 1 year ago

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.

xzchaoo commented 1 year ago

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.