Page MenuHomePhabricator

Log files filling up k8s worker nodes
Closed, ResolvedPublic

Description

Docker logs are stored in /var/lib, and that is on the root partition with 19G of space only. It fills up easily when something is logging too much into stdout (jupyterhub was this time, I've been fixing it).

Event Timeline

Is this "instance's extra storage should be mounted at /var/lib" or "get people to log less stuff"? Or somehow send logs to NFS?

bd808 added subscribers: Bstorm, aborrero, bd808.

I think this is something that @Bstorm and/or @aborrero fixed with the 2020 cluster design? I certainly remember @Bstorm mentioning it as a concern.

Bstorm claimed this task.

This task was partially fixed way before the 2020 cluster (and before me). Then I fixed it the rest of the way on both the old and the new cluster. We limit docker log sizes via the native docker config on the new cluster.