Symptoms:
The following command can be used from the NSX-T manager as root to view the files:
VMware NSX-T Data Center 3.x
VMware NSX-T Data Center
The resolution to prevent this issue from occurring is in NSX intelligence 4.0.1 and later releases.
To clean up existing log files, see the Workaround section.
Workaround:
Create a cron job which will cleanup old log files.
To start cron job weekly to clean up the log files older than 1 week, run following commands from kubernates master node.
The below example sets up a cron job to execute at 20:00 hrs every Monday:
If the above does not resolve the issue, it is also possible there are stale log folder entries inside the fluend-0 pod. Please log in to the pod by running the command below
Run this command to view the disk usage
and cd to directory below to verify if there is any stale worker node folder for the worker nodes which no longer exist.