Difference between revisions of "Kubernetes Persistent Volumes (PV)"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
* <code>[[kubectl describe pvc mysql-pv-claim]]</code>
 
* <code>[[kubectl describe pvc mysql-pv-claim]]</code>
  
 +
== Providers ==
 
  [[GCEPersistentDisk]]
 
  [[GCEPersistentDisk]]
 
  [[AWSElasticBlockStore]]
 
  [[AWSElasticBlockStore]]

Revision as of 09:38, 4 August 2022

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

Providers

GCEPersistentDisk
AWSElasticBlockStore
AzureFile
AzureDisk
CSI (Container Storage Interface)
FC (Fibre Channel)
FlexVolume (deprecated)
Flocker
NFS
iSCSI
RBD (Ceph Block Device)
CephFS
Cinder (OpenStack block storage)
Glusterfs
VsphereVolume
Quobyte Volumes
HostPath (Single node testing only -- local storage is not supported in any way and WILL NOT WORK in a multi-node cluster)
Portworx Volumes
ScaleIO Volumes
StorageOS
Persisten

Example

Volumes:
 your-vol-1:
   Type:      ConfigMap (a volume populated by a ConfigMap)
   Name:      prod-admin-config
   Optional:  false
 your-vol-2:
   Type:        Secret (a volume populated by a Secret)
   SecretName:  your-secret-name
   Optional:    false
 your-vol-3:
   Type:                    Projected (a volume that contains injected data from multiple sources)
   TokenExpirationSeconds:  3607
   ConfigMapName:          your-kube-root-ca.crt
   ConfigMapOptional:       <nil>
   DownwardAPI:             true


News

  • Jun 2018 v1.11 Resizing Persistent Volumes using Kubernetes in alpha

Related terms

See also

Advertising: