DEV Community

Discussion on: Data Persistence in Kubernetes | Kubernetes Volumes simply explained

Collapse
 
yourtechbud profile image
Noorain Panjwani

Interesting. I use statefulsets even if there's a single replica 🤣. But using a deployment makes sense.

As for configmaps and secrets, Never had to deal with volumes directly. I didn't know you can store these on volumes. I was under the impression kubernetes stores them in etcd or something. We just need to mount them as volumes or env variables