Closed nuvious closed 6 months ago
Closing due to it just being a simple configuraiton issue. The $base_path
variable was omitted in the mirror/skel/var paths.
This:
set base_path /var/spool/apt-mirror
set mirror_path /data
set skel_path /skel
set var_path /var
Should have been this:
set base_path /var/spool/apt-mirror
set mirror_path $base_path/data
set skel_path $base_path/skel
set var_path $base_path/var
When doing multiple architectures and/or repositories such as arm vs x86 or when mirroring alternative repositories in addition to the main repository such as docker, etc, the cronjob can run out of resources easily. Here's an example:
Warning Evicted 30h (x3 over 30h) kubelet Pod ephemeral local storage usage exceeds the total limit of containers 8Gi.
The above was with modifications to the resources to allow 4-8 GB of ephemeral storage. Inspecting the job container while it was live confirmed that the cephfs (used in my example) was mounted properly.
The base path was also confirmed:
Current hypothesis is that debmirror is writing somewhere else on the filesystem for temporary storage, though I haven't seen anything about that in the documentation. Exploration/resolution steps blow.
Resolution