Volumes on Kubernetes

Volumes on Kubernetes

  • Volumes in Kubernetes allows you to store data outside the container

  • Using Kubernetes' persist volumes, a volume attached to a container will continue to exist even if the container stops running. The volume will be immediately reattached to the new container. You'll be able to keep your app in its current state this way.

  • Volumes can be attached using different volume plugins:

AWS Cloud => EBS storage
Google Cloud => Google disk
Microsoft Cloud => Azure disk
Network storage => NFS, Cephfs
  • To use volumes, you need to create a volume defenition