kubectl logs -n <harbor-namespace> <harbor-pod> can show:
PANIC: could not write to fileNo space left on deviceTCA: 3.3
TCP: 5.0
Space is filled up on the data disk, this can be confirmed by accessing harbor and running:
df -h
Example:Filesystem Size Used Avail Use% Mounted on
/dev/sdb# 80G 80G 80G 100% /dev
du -h ./ -d 1/var/log/harbor/ is filled you can remove them safely using:sudo find /var/log/harbor/ -name "*.log" -exec truncate -s 0 {} +/data/registry is filled these are system images and you can proceed to resize disk. or:
docker system prune -flsblkNote: If this option is greyed out, the disk may be running on snapshots or the disk may be at the maximum allowed size depending on the block size of the datastore.
echo 1 > /sys/class/block/sd#/device/rescantdnf install partedparted /dev/sd#(parted) along with disk partition information resizepart # 100%resize2fs /dev/sda2lsblk and df -h to confirm disk is resized.