[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Limting disk usage for container logs

On 02/19/2018 07:01 AM, bahhooo wrote:

is this even possible?

It would be nice to be able specify disk quotas for projects. Currently one single project can go wild and fill up the whole elasticsearch disk, rendering logging out of operation.

Not exactly.  There are a couple of things you can do (assuming you are using docker with --log-driver=json-file)

https://docs.openshift.org/latest/install_config/aggregate_logging.html - see the section about throttling - you can do this per-project

https://docs.docker.com/config/containers/logging/json-file/#options - you could configure docker to aggressively rotate log data - this does not apply per-project


users mailing list
users lists openshift redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]