numerous-motorcycle-4316604/26/2023, 2:56 PM
and it works most of the time, however after 2-3 reloads from my code changes, the node becomes unusable due to disk pressure. I'm using linux with rancher desktop 1.8.1. Has anyone ran into this before or have any suggestions to try to help avoid this disk pressure issue?
fast-garage-6609304/27/2023, 3:32 AM
/opt/rancher-desktop/resources/resources/linux/lima/bin/qemu-img resize ~/.local/share/rancher-desktop/lima/0/diffdisk +10G
has to delete images no longer needed, but it sounds like you should frequently prune the image store.
is going to do some garbage collection when a threshold is reached, but maybe that threshold is too low, so you exhaust the disk before GC can kick in.
numerous-motorcycle-4316604/27/2023, 12:59 PM
it does show 90+ GB. I've been running skaffold with
docker system prune
which should prune the images more often; so hopefully that helps too
fast-garage-6609304/27/2023, 4:25 PM
numerous-motorcycle-4316604/27/2023, 5:37 PM
in that path though, only `limactl`:
❯ ll /opt/rancher-desktop/resources/resources/linux/lima/bin/ total 19844 drwxr-xr-x 2 root root 4096 Apr 19 12:57 ./ drwxr-xr-x 4 root root 4096 Apr 19 12:57 ../ -rwxr-xr-x 1 root root 20312064 Feb 28 16:52 limactl*
fast-garage-6609304/27/2023, 5:39 PM
numerous-motorcycle-4316604/27/2023, 5:40 PM
worked. Will test the results of a bigger size now.
qemu-img resize ~/.local/share/rancher-desktop/lima/0/diffdisk +10G
fast-garage-6609304/27/2023, 5:42 PM
numerous-motorcycle-4316604/27/2023, 5:49 PM
fast-garage-6609304/27/2023, 5:54 PM
numerous-motorcycle-4316605/02/2023, 3:45 PM
options with skaffold has been pretty reliable