5.2 KiB
5.2 KiB
Volume v1
Group | Version | Kind |
---|---|---|
Core | v1 | Volume |
Volume represents a named volume in a pod that may be accessed by any container in the pod.
Field | Description |
---|---|
awsElasticBlockStore AWSElasticBlockStoreVolumeSource |
AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore |
azureDisk AzureDiskVolumeSource |
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. |
azureFile AzureFileVolumeSource |
AzureFile represents an Azure File Service mount on the host and bind mount to the pod. |
cephfs CephFSVolumeSource |
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime |
cinder CinderVolumeSource |
Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md |
configMap ConfigMapVolumeSource |
ConfigMap represents a configMap that should populate this volume |
downwardAPI DownwardAPIVolumeSource |
DownwardAPI represents downward API about the pod that should populate this volume |
emptyDir EmptyDirVolumeSource |
EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir |
fc FCVolumeSource |
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. |
flexVolume FlexVolumeSource |
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 FlockerVolumeSource |
Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running |
gcePersistentDisk GCEPersistentDiskVolumeSource |
GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk |
gitRepo GitRepoVolumeSource |
GitRepo represents a git repository at a particular revision. |
glusterfs GlusterfsVolumeSource |
Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md |
hostPath HostPathVolumeSource |
HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath |
iscsi ISCSIVolumeSource |
ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md |
name string |
Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names |
nfs NFSVolumeSource |
NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs |
persistentVolumeClaim PersistentVolumeClaimVolumeSource |
PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims |
photonPersistentDisk PhotonPersistentDiskVolumeSource |
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine |
quobyte QuobyteVolumeSource |
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime |
rbd RBDVolumeSource |
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md |
secret SecretVolumeSource |
Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets |
vsphereVolume VsphereVirtualDiskVolumeSource |
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine |