Is there a good way to check if rke2 is done impor...
# rke2
q
Is there a good way to check if rke2 is done importing images that are dropped into /var/lib/rancher/rke2/agent/images after startup? The best way I've found is to monitor .cache.json which seems to work, but I know I shouldn't rely on this kind of internal rke2 implementation detail if I can avoid it
c
you can: • check the cache file (if you enabled it) • check the logs • check the containerd image store that’s it
👍 1
q
Ok, cache file is what I'm using now. Seems like the best way for my use case. Containerd image store looks like it would be hard to relate the image names back to the file names
r
What's this 'cache' file and how do I enable it?