Open drock opened 7 years ago
I wonder if https://github.com/deis/controller/pull/1179 might resolve this by proxy as it will be using a separate init container to pull down the slug.
That sounds plausible since only the memory limit seems to trigger this issue and that would download the slug and extract it before those limits are enforced?
This seems similar to docker/hub-feedback#727.
This issue was moved to teamhephy/slugrunner#4
I am seeing a strange problem when trying to deploy my app with resource limits set. With no resource limits set, everything works fine. However, when I set the resource limits of the app below a certain value, it fails to launch
After doing so kubectl will show the new pod in a CrashLoopBackoff and the logs of the pod show
This is all strange as the error message seem to be unrelated to memory limits. The compressed slug size is ~150M and the uncompressed app folder tree is:
Bumping the memory limit up to only 600M solves the problem though.
Related, but probably separate is that if I drop the memory limit even lower to 400M then the failure happens when trying to merely download the slug with only this in the logs
My app only needs ~300M to run so I was hoping to not set the kubernetes limits so high.