Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image-cache: allow updating on and accessing from a live cluster #9925

Open
srgvg opened this issue Dec 11, 2024 · 2 comments
Open

image-cache: allow updating on and accessing from a live cluster #9925

srgvg opened this issue Dec 11, 2024 · 2 comments

Comments

@srgvg
Copy link

srgvg commented Dec 11, 2024

Feature Request

Description

I just did some initial tests of Talos v1.9.0-beta1 which includes the image-cache feature, and this seems to work as expected.

To be able to fully manage a stand-alone, isolated and air-gapped cluster, it would be neat to have some extra features:

  • update (push new and delete old from) the cache on a live cluster
  • access the cache as a proper registry/oci registry over http, to allow caching more than just container images: e.g. Helm charts or FluxCD artifacts. The FluxCD source controller OCIRepository object can be configured with a "proxy server". This proxy server should point to the local cache.

Related

  • Whilst adding non container images like Helm charts, to the cache is currently possible, it does not work with the talosctl images cache-create --image-layer-cache-path switch. I tried looking at the crane project to find out if that misses some switch of its own, or is a bug - as they do support other OCI types - but couldn't exactly pinpoint it.
@smira
Copy link
Member

smira commented Dec 11, 2024

Please keep in mind that you can also deploy a registry mirror in the environment as well which would support all of the above in a more native way.

I don't think we would allow external network access to the image cache for security reasons.

Updating the cache on a live cluster might be on a radar eventually.

@a1994sc
Copy link

a1994sc commented Dec 13, 2024

The project zarf does a very similar thing of creating an intra-cluster oci registry; I am very much looking forward to trying this feature out in the near future.... having core images cached on disk sounds amazing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants