/log/retained-logs/ partition is 100% full
book
Article ID: 421152
calendar_today
Updated On:
Products
VMware Telco Cloud Automation
Issue/Introduction
- There were many kubelet log files generated in /logs/retained-logs/kubelet.service and /log partition of the TCA-CP became 100% full.
Cause
- The size of kubelet log files were larger than usual. These logs typically will not grow beyond a few MB in a day.
- Currently the log rotation is defaulted to once per day. There is no capability to rotate it based on size.
Resolution
- Restart the kubelet service
systemctl restart kubelet
- Restart the containerd service
systemctl restart containerd
Additional Information
- It is important to investigate whether any issues are causing the larger log files.
Manual log file deletion is definitely recommended.
- You can find the large log files using the command below, then delete (or move) them.
find /logs/retained-logs -type f -size +250M
- You can change the above command to more than 100M as well.
Feedback
thumb_up
Yes
thumb_down
No