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

Registry-related configuration for Stargz Store #1527

Open
jonathanbeber opened this issue Jan 15, 2024 · 6 comments
Open

Registry-related configuration for Stargz Store #1527

jonathanbeber opened this issue Jan 15, 2024 · 6 comments

Comments

@jonathanbeber
Copy link

Currently there are docs related to how to access private registries for the snapshotter with containerd, but I couldn't find any reference on how to achieve the same with the Stargz Store, especially for CRI-O. This issue aims to discuss whether it's possible and whether the project could document that in more details.

@jonathanbeber
Copy link
Author

Hello, there,

I want to use the snapshotter with the sysbox runtime and currently it doesn't support containerd. Is it possible? Can we document that too?

I'd gladly test any directions you can point me and open a PR for documenting that and if possible add tests.

Thanks in advance!

@ktock
Copy link
Member

ktock commented Jan 15, 2024

Currently there are docs related to how to access private registries for the snapshotter with containerd, but I couldn't find any reference on how to achieve the same with the Stargz Store, especially for CRI-O. This issue aims to discuss whether it's possible and whether the project could document that in more details.

stargz-store accepts same configuration as stargz-snapshotter(containerd-stargz-grpc) but the default config path of stargz-store is /etc/stargz-store/config.toml. SGTM about improving the documentation for stargz-store (contribution is welcome, of course).

I want to use the snapshotter with the sysbox runtime and currently it doesn't support containerd. Is it possible? Can we document that too?
I'd gladly test any directions you can point me and open a PR for documenting that and if possible add tests.

Thanks for testing with sysbox. I haven't tried it but I believe stargz-snapshotter or stargz-store can be used for that project as long as that uses Docker (w/ containerd-snapshotter feathre) or containerd or cri-o/podman, etc. PRs for documentation/tests are welcome.

@jonathanbeber
Copy link
Author

I'm sorry the late reply on this one, things shifted a bit and I'm returning to it at this moment.

I would like some directions. Unfortunately, it seems like atm stargz-store supports exclusively keychain based on kubeconfig. That won't work with EKS or other setups where we depend on credential providers.

I'm guessing our best option is to import @ktock's great work in #323 to stargz-store, what do you think?

@ktock
Copy link
Member

ktock commented Jun 25, 2024

CRI-O will support registry authentication for stargz store since containers/image#2417. That patch was already merged to c/image and I'm waiting for that being downstreamed to CRI-O. If you can wait for the release of CRI-O that contain that patch, #323 is not needed.

@jonathanbeber
Copy link
Author

jonathanbeber commented Jun 25, 2024

That's great, thanks, @ktock. Waiting for a new CRI-O release seems the best option indeed.

@rteqs
Copy link

rteqs commented Jul 18, 2024

hey @ktock what's the status on this? It looks it's been down streamed to CRI-O

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