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

Mount docker images to s3 #673

Open
sadathknorket opened this issue Dec 24, 2024 · 3 comments
Open

Mount docker images to s3 #673

sadathknorket opened this issue Dec 24, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@sadathknorket
Copy link

Describe the problem to be solved

Allow storing and mounting docker images to s3 buckets in k8s environments .

If an image is pulled it should be stored in s3 and pods will use the image data from the bucket

Proposed solution to the problem

can possibly use s3fs , where during this project initialization in cluster , the docker path in the node will be mounted to s3

@sadathknorket sadathknorket added the enhancement New feature or request label Dec 24, 2024
@phillebaba
Copy link
Member

I may not be following. Are you looking to use Spegel to fetch images from S3 or to store pulled images in S3? I am aware that there are people that use S3 as an upstream registry by storing layers to specific paths.

Could you expand on the use case for my edification?

@sadathknorket
Copy link
Author

sure , what I meant is to pull images from standard registry and then store it in s3 and let pods mount and read the images from s3 . Without having to consume the ephemeral storage of node disk

@phillebaba
Copy link
Member

This is out of scope for Spegel, as it only intends to piggy back off of the CRI provider storage. Using a S3 bucket to store the layers to a degree defeats the purpose of Spegel, as it will now rely on an external storage provider. The goal is to keep Spegel as simple as possible and instead integrate well with other projects instead for these types of use cases.

I think you would be better off using a pull through mirror like Harbor instead. That way you could use Spegel and Harbor in conjunction with each other.

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

No branches or pull requests

2 participants