How to provision Kubernetes Persistent Volumes to use with S3 or DO spaces
I’m a beginner on k8s and I’ve been struggling for a long time trying to do Kubernetes storage the right way. I’ve learnt that stateless applications offers great performances and database shouldn’t be inside pods for performance/availability reasons.
So is there a way to use a S3-compatible API (like DO spaces) as a storage backend ? Ideally, I’d like to migrate my databases out of k8s in a managed SQL cluster, and use object storage for my newly created PVs. I could just use S3 directly in my applications, but this is sometimes not compatible with the design of the app (e.g: Nextcloud).
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×