valheim-k8s icon indicating copy to clipboard operation
valheim-k8s copied to clipboard

Google Autopilot Ephemeral Storage Limit Exceeded

Open bakester14 opened this issue 2 years ago • 2 comments

For whatever reason, GCP Autopilot K8s clusters set an ephemeral storage limit of 1Gi: https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-overview#default_container_resource_requests

This seems to be exceeded, at least during initial setup. I get errors in the logs that just say '/home/valheim/Steam/logs/stderr.txt', and a notice in the console that the limit has been exceeded. Does anyone know what a good value for ephemeral storage limit should be? I'm happy to make the change, just don't really know what to put in that space.

If no one responds to this in a few days I'll submit a PR with a 10Gi Ephemeral storage request.

Sick stuff btw! Thank you!

bakester14 avatar Sep 21 '21 03:09 bakester14

Just confirmed that setting the ephemeral storage value like --set resources.limits.ephemeral-storage="10Gi" lets the container start up fine. No idea if it will stay up, but that's ok.

Probably as simple a change as a note in the readme. Please let me know if that is preferable, or the first fix I offered was preferable, and I can make the change. Cheers!

bakester14 avatar Sep 21 '21 04:09 bakester14

I'm going to assume you are persisting the world to some sort of PVC.

Perhaps the container is making use of ephemeral (container) storage to save some data at runtime. Based off that error, Ill go ahead and guess that /home/valheim/Steam/logs/ should be mapped/mounted elsewhere.

Addyvan avatar Sep 22 '21 20:09 Addyvan