Hello, First of all, super awesome tool you guys ...
# community-help
f
Hello, First of all, super awesome tool you guys built. I deployed Typesense on K8S and it's been working great until today. I "successfully" created collection and imported some data to the collection and when I checked the collections, It returns null. I checked the log and the health of my typesense server and I don't see any error that would indicate any crashes. I am using v.0.24.1. Any ideas on how I can fix this?
d
Did you use statefulset with persistent volume?
f
No I didn't use statefulset with PV
d
It can be the reason of data loss. Because in Kubernetes pods are designed in mind to be restarted or evicted, so for stateful workload you have to add persistent storage. It’s likely that pod just restarted for some reason You can get a main idea with statefulset from this example: https://github.com/typesense/typesense-kubernetes/blob/master/base/install.yaml
❤️ 1