Your app needs files from S3 mounted like a filesystem. What are the options?
IntermediateScenarioConfiguration, Secrets and storage
Answer
Situation read → A legacy tool expects local paths for large datasets.
What I'd do →
- Use the Mountpoint for Amazon S3 CSI driver for read-heavy workloads
- Or sync with an init container using
aws s3 sync - Use IRSA or Pod Identity for access, not static keys
- Know that S3 is not POSIX: no random writes
- Prefer SDK access in new applications
Why → Mountpoint gives file-like reads without copying, but semantics differ from a real filesystem.
Interview tip → Call out the POSIX limitation.
More on Configuration, Secrets and storage
How do you inject configuration into pods and what are the options?BeginnerA ConfigMap was updated but the pod still shows old values. Why?IntermediateHow do you store a database password safely in Kubernetes?BeginnerHow do you manage secrets in GitOps without committing them in plain text?IntermediateA pod fails with `CreateContainerConfigError` and a missing key. What happened?BeginnerWhat is the difference between emptyDir, hostPath, PV/PVC and when do you use each?Beginner