-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should Minecraft be a StatefulSet? #84
Comments
I prefer using statefulsets, but changing these charts from deployments seems very disruptive for little to no functional gain. |
The main reason I ask is: we occasionally have an issue where a pod is stuck terminating for a little longer than expected & another one comes up to replace it, subsequently failing as it can't mount to the volume and needs manual intervention to resolve. I would've thought the Recreate strategy would prevent this, but I'm guessing the 'Terminating' state is good enough for the Deployment to spawn a new pod. |
STS's rolling update strategy seems to be advertised as similar behavior to deployment's recreate strategy. Go ahead and experiment with a statefulset in your scenario and see what happens. |
@billimek it feels like a similar conversation happened on the original helm repo, so I'm not able to find it there. What's your latest thoughts on the deployment/statefulset approaches and challenges. |
Personally speaking, I've gone full-circle on the idea that things should be Anecdotally, it seems some folks have some issues with StatefulSet workloads being too 'sticky' to a given host and making updates challenging. |
I'm inclined to agree after some experimentation. I have a suspicion the main issue I'm seeing pods sticking in the terminating state is down to Longhorn being Longhorn. |
StatefulSet seems more suitable than a Deployment for this type of workload, what are your thoughts?
The text was updated successfully, but these errors were encountered: