k0sproject / k0smotron

k0smotron
https://docs.k0smotron.io/
Other
499 stars 45 forks source link

Document k0s persistence #650

Open kbumsik opened 3 months ago

kbumsik commented 3 months ago

Hi, I am experimenting k0smotron to implement multi-tenant k8s with remote workers.

While playing around k0smotron, one thing I noticed is that documentation on Cluster.spec.persistence is lacking, while it seems to be important for production deployment.

For example:

Since v1 is out, some insights regarding production deployments like this would really helps.

nealf commented 1 month ago

I'm in the same situation of not knowing whether it is needed or not for non-ephemeral clusters. If it is necessary, we found that it does not currently work in Standalone mode (at least when replicas >1) because it doesn't use the StatefuleSets persistent volume template correctly. It creates the volume template, but the VolumeMount doesn't use the template name and pods are never created because of that config error.