pelias-deprecated / kubernetes

Tools for running Pelias services on kubernetes
MIT License
54 stars 47 forks source link

Ephemeral storage limits #113

Closed orangejulius closed 4 years ago

orangejulius commented 4 years ago

This PR adds resource requests and limits for ephemeral storage for the Placeholder and Interpolation services.

They both can use quite a bit of disk space, and without setting a reasonable value for the resource request, Kubernetes can get stuck in a loop where it repeatedly tries to launch a pod on a machine that doesn't have enough storage.

The defaults are currently set to 5GB for both services. The interpolation service will need a much bigger limit, at least 50GB, for full planet builds.