Closed Fabccc closed 2 months ago
I don't think that there is a solution for that. Bolt doesn't support having multiple processes accessing the same DB. Using the local transport (no storage) or HA transport (included in the paid version) doesn't have this problem.
So going for no storage on the single deployment should resolve that. I'm going to try it tomorrow
Setting transport
to local://local
solved the problem. thank you !
Issue
When restarting the deployment, the new pod can't start and the logs are the following:
Is it because boltdb can't access a locked database ?
Workaround
Scale down the deployment to zero, and scale back to 1 for changes to apply.
Lasting solution
Be able to choose the kind of K8S ressources (Deployment or StatefulSet) in the values.yaml