DEV Community

Discussion on: Mount S3 Objects to Kubernetes Pods

Collapse
 
behroozam profile image
behrooz hasanbeygi

In high number of files its fail you due to nature of s3 api for small files the http response will be bigger than files.

I think mounting s3 is a bad idea, if you have enough developing resources its better to write a client for code to connect directly to s3 and cache list of s3 files ... For better performance.
But its a fun thing to do, also cephfs with rados gateway will give you better performance in kubernetes

Collapse
 
antweiss profile image
Ant(on) Weiss

good to know. not an issue in our case - we have a small number of large files there. And I agree it's not such a great idea in general - both performance wise and because of the hidden complexity. But it solved our specific itch and may help others solve it.