OBJECT

KubernetesKindPersistentVolumeSpec

Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes

link GraphQL Schema definition

  • type KubernetesKindPersistentVolumeSpec {
  • accessModes: [String]
  • # 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
  • awsElasticBlockStore: KubernetesKindPersistentVolumeSpecAwsElasticBlockStore
  • # AzureDisk represents an Azure Data Disk mount on the host and bind mount to the
  • # pod.
  • azureDisk: KubernetesKindPersistentVolumeSpecAzureDisk
  • # AzureFile represents an Azure File Service mount on the host and bind mount to
  • # the pod.
  • azureFile: KubernetesKindPersistentVolumeSpecAzureFile
  • # A description of the persistent volume's resources and capacity. More info:
  • # https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
  • capacity: [Tag!]
  • # CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
  • cephfs: KubernetesKindPersistentVolumeSpecCephfs
  • # Cinder represents a cinder volume attached and mounted on kubelets host machine.
  • # More info: https://examples.k8s.io/mysql-cinder-pd/README.md
  • cinder: KubernetesKindPersistentVolumeSpecCinder
  • # 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
  • claimRef: KubernetesKindPersistentVolumeSpecClaimRef
  • # CSI represents storage that is handled by an external CSI driver (Beta feature).
  • csi: KubernetesKindPersistentVolumeSpecCsi
  • # FC represents a Fibre Channel resource that is attached to a kubelet's host
  • # machine and then exposed to the pod.
  • fc: KubernetesKindPersistentVolumeSpecFc
  • # FlexVolume represents a generic volume resource that is provisioned/attached
  • # using an exec based plugin.
  • flexVolume: KubernetesKindPersistentVolumeSpecFlexVolume
  • # 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
  • flocker: KubernetesKindPersistentVolumeSpecFlocker
  • # 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
  • gcePersistentDisk: KubernetesKindPersistentVolumeSpecGcePersistentDisk
  • # 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
  • glusterfs: KubernetesKindPersistentVolumeSpecGlusterfs
  • # 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
  • hostPath: KubernetesKindPersistentVolumeSpecHostPath
  • # 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.
  • iscsi: KubernetesKindPersistentVolumeSpecIscsi
  • # Local represents directly-attached storage with node affinity
  • local: KubernetesKindPersistentVolumeSpecLocal
  • mountOptions: [String]
  • # NFS represents an NFS mount on the host. Provisioned by an admin. More info:
  • # https://kubernetes.io/docs/concepts/storage/volumes#nfs
  • nfs: KubernetesKindPersistentVolumeSpecNfs
  • # NodeAffinity defines constraints that limit what nodes this volume can be
  • # accessed from. This field influences the scheduling of pods that use this
  • # volume.
  • nodeAffinity: KubernetesKindPersistentVolumeSpecNodeAffinity
  • # 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
  • persistentVolumeReclaimPolicy: String
  • # PhotonPersistentDisk represents a PhotonController persistent disk attached and
  • # mounted on kubelets host machine
  • photonPersistentDisk: KubernetesKindPersistentVolumeSpecPhotonPersistentDisk
  • # PortworxVolume represents a portworx volume attached and mounted on kubelets
  • # host machine
  • portworxVolume: KubernetesKindPersistentVolumeSpecPortworxVolume
  • # Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
  • quobyte: KubernetesKindPersistentVolumeSpecQuobyte
  • # 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
  • rbd: KubernetesKindPersistentVolumeSpecRbd
  • # ScaleIO represents a ScaleIO persistent volume attached and mounted on
  • # Kubernetes nodes.
  • scaleIO: KubernetesKindPersistentVolumeSpecScaleIO
  • # Name of StorageClass to which this persistent volume belongs. Empty value means
  • # that this volume does not belong to any StorageClass.
  • storageClassName: String
  • # 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
  • storageos: KubernetesKindPersistentVolumeSpecStorageos
  • # 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: String
  • # VsphereVolume represents a vSphere volume attached and mounted on kubelets host
  • # machine
  • vsphereVolume: KubernetesKindPersistentVolumeSpecVsphereVolume
  • }