place-labs / k8s-helm

Helm charts for PlaceOS on Kubernetes
0 stars 2 forks source link

Change frontend-loader from Deployment to StatefulSet #77

Closed viv-4 closed 3 months ago

viv-4 commented 1 year ago

Deployments with persistent volume mounts cannot be scaled due to defining the same volume To scale frontend-loader it needs to change to a statefulset with a VolumeClaimTemplate definition which is designed to handle this by creating volumes per replica and associating them with said replica across restarts/scaling

viv-4 commented 3 months ago

https://github.com/place-labs/k8s-helm/commit/72dccb43be47919413eb4a537c8fddcf61ddbfbe