case class PersistentVolumeSpec(accessModes: Option[Seq[String]] = None, awsElasticBlockStore: Option[AWSElasticBlockStoreVolumeSource] = None, azureDisk: Option[AzureDiskVolumeSource] = None, azureFile: Option[AzureFilePersistentVolumeSource] = None, capacity: Option[Map[String, Quantity]] = None, cephfs: Option[CephFSPersistentVolumeSource] = None, cinder: Option[CinderPersistentVolumeSource] = None, claimRef: Option[ObjectReference] = None, csi: Option[CSIPersistentVolumeSource] = None, fc: Option[FCVolumeSource] = None, flexVolume: Option[FlexPersistentVolumeSource] = None, flocker: Option[FlockerVolumeSource] = None, gcePersistentDisk: Option[GCEPersistentDiskVolumeSource] = None, glusterfs: Option[GlusterfsPersistentVolumeSource] = None, hostPath: Option[HostPathVolumeSource] = None, iscsi: Option[ISCSIPersistentVolumeSource] = None, local: Option[LocalVolumeSource] = None, mountOptions: Option[Seq[String]] = None, nfs: Option[NFSVolumeSource] = None, nodeAffinity: Option[VolumeNodeAffinity] = None, persistentVolumeReclaimPolicy: Option[String] = None, photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource] = None, portworxVolume: Option[PortworxVolumeSource] = None, quobyte: Option[QuobyteVolumeSource] = None, rbd: Option[RBDPersistentVolumeSource] = None, scaleIO: Option[ScaleIOPersistentVolumeSource] = None, storageClassName: Option[String] = None, storageos: Option[StorageOSPersistentVolumeSource] = None, volumeMode: Option[String] = None, vsphereVolume: Option[VsphereVirtualDiskVolumeSource] = None) extends Product with Serializable
PersistentVolumeSpec is the specification of a persistent volume.
- accessModes
accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
- awsElasticBlockStore
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- azureDisk
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod
- azureFile
azureFile represents an Azure File Service mount on the host and bind mount to the pod.
- capacity
capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
- cephfs
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime
- cinder
cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- claimRef
claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding
- csi
csi represents storage that is handled by an external CSI driver (Beta feature).
- fc
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
- flexVolume
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
- flocker
flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running
- gcePersistentDisk
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- glusterfs
glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md
- hostPath
hostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- iscsi
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.
- local
local represents directly-attached storage with node affinity
- mountOptions
mountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options
- nfs
nfs represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- nodeAffinity
nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.
- persistentVolumeReclaimPolicy
persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
- photonPersistentDisk
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
- portworxVolume
portworxVolume represents a portworx volume attached and mounted on kubelets host machine
- quobyte
quobyte represents a Quobyte mount on the host that shares a pod's lifetime
- rbd
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md
- scaleIO
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
- storageClassName
storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.
- storageos
storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md
- volumeMode
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.
- vsphereVolume
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
- Alphabetic
- By Inheritance
- PersistentVolumeSpec
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PersistentVolumeSpec(accessModes: Option[Seq[String]] = None, awsElasticBlockStore: Option[AWSElasticBlockStoreVolumeSource] = None, azureDisk: Option[AzureDiskVolumeSource] = None, azureFile: Option[AzureFilePersistentVolumeSource] = None, capacity: Option[Map[String, Quantity]] = None, cephfs: Option[CephFSPersistentVolumeSource] = None, cinder: Option[CinderPersistentVolumeSource] = None, claimRef: Option[ObjectReference] = None, csi: Option[CSIPersistentVolumeSource] = None, fc: Option[FCVolumeSource] = None, flexVolume: Option[FlexPersistentVolumeSource] = None, flocker: Option[FlockerVolumeSource] = None, gcePersistentDisk: Option[GCEPersistentDiskVolumeSource] = None, glusterfs: Option[GlusterfsPersistentVolumeSource] = None, hostPath: Option[HostPathVolumeSource] = None, iscsi: Option[ISCSIPersistentVolumeSource] = None, local: Option[LocalVolumeSource] = None, mountOptions: Option[Seq[String]] = None, nfs: Option[NFSVolumeSource] = None, nodeAffinity: Option[VolumeNodeAffinity] = None, persistentVolumeReclaimPolicy: Option[String] = None, photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource] = None, portworxVolume: Option[PortworxVolumeSource] = None, quobyte: Option[QuobyteVolumeSource] = None, rbd: Option[RBDPersistentVolumeSource] = None, scaleIO: Option[ScaleIOPersistentVolumeSource] = None, storageClassName: Option[String] = None, storageos: Option[StorageOSPersistentVolumeSource] = None, volumeMode: Option[String] = None, vsphereVolume: Option[VsphereVirtualDiskVolumeSource] = None)
- accessModes
accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
- awsElasticBlockStore
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- azureDisk
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod
- azureFile
azureFile represents an Azure File Service mount on the host and bind mount to the pod.
- capacity
capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
- cephfs
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime
- cinder
cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- claimRef
claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding
- csi
csi represents storage that is handled by an external CSI driver (Beta feature).
- fc
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
- flexVolume
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
- flocker
flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running
- gcePersistentDisk
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- glusterfs
glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md
- hostPath
hostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- iscsi
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.
- local
local represents directly-attached storage with node affinity
- mountOptions
mountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options
- nfs
nfs represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
- nodeAffinity
nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.
- persistentVolumeReclaimPolicy
persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
- photonPersistentDisk
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
- portworxVolume
portworxVolume represents a portworx volume attached and mounted on kubelets host machine
- quobyte
quobyte represents a Quobyte mount on the host that shares a pod's lifetime
- rbd
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md
- scaleIO
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
- storageClassName
storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.
- storageos
storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md
- volumeMode
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.
- vsphereVolume
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val accessModes: Option[Seq[String]]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val awsElasticBlockStore: Option[AWSElasticBlockStoreVolumeSource]
- val azureDisk: Option[AzureDiskVolumeSource]
- val azureFile: Option[AzureFilePersistentVolumeSource]
- val capacity: Option[Map[String, Quantity]]
- val cephfs: Option[CephFSPersistentVolumeSource]
- val cinder: Option[CinderPersistentVolumeSource]
- val claimRef: Option[ObjectReference]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val csi: Option[CSIPersistentVolumeSource]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fc: Option[FCVolumeSource]
- val flexVolume: Option[FlexPersistentVolumeSource]
- val flocker: Option[FlockerVolumeSource]
- val gcePersistentDisk: Option[GCEPersistentDiskVolumeSource]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val glusterfs: Option[GlusterfsPersistentVolumeSource]
- val hostPath: Option[HostPathVolumeSource]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val iscsi: Option[ISCSIPersistentVolumeSource]
- val local: Option[LocalVolumeSource]
- val mountOptions: Option[Seq[String]]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nfs: Option[NFSVolumeSource]
- val nodeAffinity: Option[VolumeNodeAffinity]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val persistentVolumeReclaimPolicy: Option[String]
- val photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource]
- val portworxVolume: Option[PortworxVolumeSource]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val quobyte: Option[QuobyteVolumeSource]
- val rbd: Option[RBDPersistentVolumeSource]
- val scaleIO: Option[ScaleIOPersistentVolumeSource]
- val storageClassName: Option[String]
- val storageos: Option[StorageOSPersistentVolumeSource]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val volumeMode: Option[String]
- val vsphereVolume: Option[VsphereVirtualDiskVolumeSource]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated