Packages

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

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistentVolumeSpec
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val accessModes: Option[Seq[String]]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val awsElasticBlockStore: Option[AWSElasticBlockStoreVolumeSource]
  7. val azureDisk: Option[AzureDiskVolumeSource]
  8. val azureFile: Option[AzureFilePersistentVolumeSource]
  9. val capacity: Option[Map[String, Quantity]]
  10. val cephfs: Option[CephFSPersistentVolumeSource]
  11. val cinder: Option[CinderPersistentVolumeSource]
  12. val claimRef: Option[ObjectReference]
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  14. val csi: Option[CSIPersistentVolumeSource]
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. val fc: Option[FCVolumeSource]
  17. val flexVolume: Option[FlexPersistentVolumeSource]
  18. val flocker: Option[FlockerVolumeSource]
  19. val gcePersistentDisk: Option[GCEPersistentDiskVolumeSource]
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. val glusterfs: Option[GlusterfsPersistentVolumeSource]
  22. val hostPath: Option[HostPathVolumeSource]
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. val iscsi: Option[ISCSIPersistentVolumeSource]
  25. val local: Option[LocalVolumeSource]
  26. val mountOptions: Option[Seq[String]]
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. val nfs: Option[NFSVolumeSource]
  29. val nodeAffinity: Option[VolumeNodeAffinity]
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. val persistentVolumeReclaimPolicy: Option[String]
  33. val photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource]
  34. val portworxVolume: Option[PortworxVolumeSource]
  35. def productElementNames: Iterator[String]
    Definition Classes
    Product
  36. val quobyte: Option[QuobyteVolumeSource]
  37. val rbd: Option[RBDPersistentVolumeSource]
  38. val scaleIO: Option[ScaleIOPersistentVolumeSource]
  39. val storageClassName: Option[String]
  40. val storageos: Option[StorageOSPersistentVolumeSource]
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. val volumeMode: Option[String]
  43. val vsphereVolume: Option[VsphereVirtualDiskVolumeSource]
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped