Based on https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/, it would be nice to have a pre-stop.sh that saves the world data and performs a clean exit. Since Terraria, similar to Minecraft, uses a console for all of it's command, this may be a bit difficult.
Based on https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/, it would be nice to have a pre-stop.sh that saves the world data and performs a clean exit. Since Terraria, similar to Minecraft, uses a console for all of it's command, this may be a bit difficult.