Difference between revisions of "Volumes (Kubernetes)"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
** emptyDir: the data in the emptyDir is '''deleted''' forever when Pod is removed from a node.
 
** emptyDir: the data in the emptyDir is '''deleted''' forever when Pod is removed from a node.
 
** flexVolume<ref>https://kubernetes.io/docs/concepts/storage/volumes/#flexVolume</ref>, can be expanded <ref>https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims</ref>
 
** flexVolume<ref>https://kubernetes.io/docs/concepts/storage/volumes/#flexVolume</ref>, can be expanded <ref>https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims</ref>
** flocker, gcePersistentDisk, hostPath, local, persistentVolumeClaim, projected, portworxVolume, quobyte, rbd, scaleIO, secret, storageos, vsphereVolume
+
** flocker, gcePersistentDisk, [[hostPath]], local, persistentVolumeClaim, projected, portworxVolume, quobyte, rbd, scaleIO, secret, storageos, vsphereVolume
 
** Support for raw [[block storage]] in CSI ([[v1.18]], March 2020)
 
** Support for raw [[block storage]] in CSI ([[v1.18]], March 2020)
 
* Deprecated: gitRepo
 
* Deprecated: gitRepo

Revision as of 16:58, 3 May 2020

Kubernetes Volumes allows to store data independent of Container restarts. Volumes in Kubernetes are different that Docker Volumes.[1]

Kubernetes supports different type of volumes [2]:

  • Cloud providers: awsElasticBlockStore, azureDisk, azureFile
  • Storage technologies: fc (fibre channel)[3], iscsi
  • Networked filesystems: cephfs, nfs, glusterfs
  • Others:
    • cinder, configMap, CSI, downwardAPI
    • emptyDir: the data in the emptyDir is deleted forever when Pod is removed from a node.
    • flexVolume[4], can be expanded [5]
    • flocker, gcePersistentDisk, hostPath, local, persistentVolumeClaim, projected, portworxVolume, quobyte, rbd, scaleIO, secret, storageos, vsphereVolume
    • Support for raw block storage in CSI (v1.18, March 2020)
  • Deprecated: gitRepo

Persistent volumes subsystem provides an API for users and administrators that abstracts details of how storage is provided from how it is consumed.


Related terms


Activities

See also

  • https://kubernetes.io/docs/concepts/storage/volumes/
  • https://kubernetes.io/docs/concepts/storage/volumes/#types-of-volumes
  • https://kubernetes.io/docs/concepts/storage/#fc
  • https://kubernetes.io/docs/concepts/storage/volumes/#flexVolume
  • https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims
  • Advertising: