Very useful, fills the need of a cache for lima k8s!
Now all you need is to start the ociregistry server:
ociregistry --image-path /var/tmp/images serve --port 8080
And then add a parameter, to your cluster startup:
limactl create template:k8s --param mirror="http://host.lima.internal:8080"
And all the images are cached, until next creation.
Previously using crane in minikube, with the per-image cache entry.
Or some manual workarounds with image tarballs, and export/import.
Now the blobs can be shared between different images, and automatic.
No more separate export/import steps, just set up the registry mirror...
So, thanks!
(that was all)
Very useful, fills the need of a cache for lima k8s!
Now all you need is to start the ociregistry server:
ociregistry --image-path /var/tmp/images serve --port 8080And then add a parameter, to your cluster startup:
limactl create template:k8s --param mirror="http://host.lima.internal:8080"And all the images are cached, until next creation.
Previously using
cranein minikube, with the per-image cache entry.Or some manual workarounds with image tarballs, and export/import.
Now the blobs can be shared between different images, and automatic.
No more separate export/import steps, just set up the registry mirror...
So, thanks!
(that was all)