⎈ k8s knowledge compiler

PersistentVolume [page]deterministic

PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes

referencestorage

`apiVersion: v1`

`import "k8s.io/api/core/v1"`

## PersistentVolume {#PersistentVolume}

PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes

<hr>

<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>apiVersion</code><br/><em>string</em></td> <td>APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources</td> </tr> <tr> <td><code>kind</code><br/><em>string</em></td> <td>Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds</td> </tr> <tr> <td><code>metadata</code><br/><em><a href="">ObjectMeta</a></em></td> <td>Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</td> </tr> <tr> <td><code>spec</code><br/><em><a href="">PersistentVolumeSpec</a></em></td> <td>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</td> </tr> <tr> <td><code>status</code><br/><em><a href="">PersistentVolumeStatus</a></em></td> <td>status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes</td> </tr> </tbody> </table>

## PersistentVolumeSpec {#PersistentVolumeSpec}

PersistentVolumeSpec is the specification of a persistent volume.

<hr>

<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>accessModes</code><br/><em>string array</em></td> <td>accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes</td> </tr> <tr> <td><code>awsElasticBlockStore</code><br/><em><a href="">AWSElasticBlockStoreVolumeSource</a></em></td> <td>awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore</td> </tr> <tr> <td><code>azureDisk</code><br/><em><a href="">AzureDiskVolumeSource</a></em></td> <td>azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver.</td> </tr> <tr> <td><code>azureFile</code><br/><em><a href="">AzureFilePersistentVolumeSource</a></em></td> <td>azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver.</td> </tr> <tr> <td><code>capacity</code><br/><em>object</em></td> <td>capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity</td> </tr> <tr> <td><code>cephfs</code><br/><em><a href="">CephFSPersis …(trimmed)

Sources

reference/kubernetes-api/core/persistent-volume-v1.md · docPersistentVolume

Related (25)

part_of PersistentVolume {#PersistentVolume}describes conf=1
part_of FCVolumeSource {#FCVolumeSource}describes conf=1
part_of FlockerVolumeSource {#FlockerVolumeSource}describes conf=1
part_of LocalVolumeSource {#LocalVolumeSource}describes conf=1
part_of NFSVolumeSource {#NFSVolumeSource}describes conf=1
part_of QuobyteVolumeSource {#QuobyteVolumeSource}describes conf=1
part_of SecretReference {#SecretReference}describes conf=1

← all Docs