Closed vknabel closed 2 months ago
Can you identify what exactly must be done to restrict the log volume ?
Not sure how, but we need to set the options in https://docs.docker.com/config/containers/logging/json-file/
Not sure how, but we need to set the options in https://docs.docker.com/config/containers/logging/json-file/
This applies to all other containers on the switch then, maybe there is some SONiC documentation on this topic
Be aware that this affects all switches and management servers with the consequence that all daemons which are started with docker will be restarted
With the solution all daemons started by the systemd-docker-service
role will be restarted. If understand it correctly this does not apply sonic's daemons only 'ours'.
After some time running the
grafana/promtail
container logs consume all free space on the disk ultimately resulting in failing switch syncs. It would make sense to limit the amount of logs to prevent this.