Resource Type: kubernetes_persistent_volume_spec
- Defined in:
- lib/puppet/type/kubernetes_persistent_volume_spec.rb
- Providers:
-
swagger
Overview
PersistentVolumeSpec is the specification of a persistent volume.
Properties
-
access_modes
AccessModes contains all ways the volume can be mounted. More info: kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
-
aws_elastic_block_store
AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet’s host machine and then exposed to the pod. More info: kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
-
azure_disk
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
-
azure_file
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
-
capacity
A description of the persistent volume’s resources and capacity. More info: 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: releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
-
claim_ref
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: kubernetes.io/docs/concepts/storage/persistent-volumes#binding
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
fc
FC represents a Fibre Channel resource that is attached to a kubelet’s host machine and then exposed to the pod.
-
flex_volume
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.
-
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
-
gce_persistent_disk
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: 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: releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md
-
host_path
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: 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
-
nfs
NFS represents an NFS mount on the host. Provisioned by an admin. More info: kubernetes.io/docs/concepts/storage/volumes#nfs
-
persistent_volume_reclaim_policy
What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
-
photon_persistent_disk
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
-
portworx_volume
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: releases.k8s.io/HEAD/examples/volumes/rbd/README.md
-
scale_io
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
-
storage_class_name
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: releases.k8s.io/HEAD/examples/volumes/storageos/README.md
-
vsphere_volume
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
Parameters
-
name (namevar)
Name of the persistent_volume_spec.
-
provider
The specific backend to use for this ‘kubernetes_persistent_volume_spec` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.