PersistentVolumeSpec

PersistentVolumeSpec is the specification of a persistent volume.

PersistentVolumeSpec is the specification of a persistent volume.

Value Params
accessModes

AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes

capacity

A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity

mountOptions

A 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

persistentVolumeReclaimPolicy

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

storageClassName

Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.

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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getAccessModes: IO[K8sFailure, Vector[String]]

AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes

AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets awsElasticBlockStore.

Gets awsElasticBlockStore.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets azureDisk.

Gets azureDisk.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets azureFile.

Gets azureFile.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getCapacity: IO[K8sFailure, Map[String, Quantity]]

A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity

A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets cephfs.

Gets cephfs.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets cinder.

Gets cinder.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets claimRef.

Gets claimRef.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets csi.

Gets csi.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets fc.

Gets fc.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets flexVolume.

Gets flexVolume.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets flocker.

Gets flocker.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets gcePersistentDisk.

Gets gcePersistentDisk.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets glusterfs.

Gets glusterfs.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets hostPath.

Gets hostPath.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets iscsi.

Gets iscsi.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets local.

Gets local.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getMountOptions: IO[K8sFailure, Vector[String]]

A 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

A 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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets nfs.

Gets nfs.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets nodeAffinity.

Gets nodeAffinity.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

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

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets photonPersistentDisk.

Gets photonPersistentDisk.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets portworxVolume.

Gets portworxVolume.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets quobyte.

Gets quobyte.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets rbd.

Gets rbd.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets scaleIO.

Gets scaleIO.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.

Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets storageos.

Gets storageos.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getVolumeMode: IO[K8sFailure, String]

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.

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.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets vsphereVolume.

Gets vsphereVolume.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product