OpenShift Volume Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 7: Line 7:
Volumes are mounted filesystems available to [[OpenShift Concepts#Pod|pods]] and their [[OpenShift Concepts#Container|containers]]. Volumes may be backed by a number of host-local or network attached storage endpoints. The simplest volume type is [[#EmptyDir|EmptyDir]], which is a temporary directory on a single machine. Administrators may also allow to request and attach [[#Persistent_Volume|Persistent Volumes]].  
Volumes are mounted filesystems available to [[OpenShift Concepts#Pod|pods]] and their [[OpenShift Concepts#Container|containers]]. Volumes may be backed by a number of host-local or network attached storage endpoints. The simplest volume type is [[#EmptyDir|EmptyDir]], which is a temporary directory on a single machine. Administrators may also allow to request and attach [[#Persistent_Volume|Persistent Volumes]].  


Various contexts list the following objects as "volumes": [[#ConfigMap|configMap]] [[#Downward_API|downwardAPI]] [[#EmptyDir|emptyDir]] [[#HostPath|hostPath]] [[#NFS|nfs]] [[#Persistent_Volume_Claim|persistentVolumeClaim]] [[OpenShift_Secrets_Concepts#Overview|secret]].
Various contexts list the following objects as "volumes":
* [[#ConfigMap|configMap]]
* [[#Downward_API|downwardAPI]]
* [[#EmptyDir|emptyDir]]
* [[#HostPath|hostPath]]
* [[#NFS|nfs]]
* [[#Persistent_Volume_Claim|persistentVolumeClaim]]
* [[OpenShift_Secrets_Concepts#Overview|secret]].


=Volume Types=
=Volume Types=

Revision as of 01:19, 6 February 2018

Internal

The Volume Mechanism

Volumes are mounted filesystems available to pods and their containers. Volumes may be backed by a number of host-local or network attached storage endpoints. The simplest volume type is EmptyDir, which is a temporary directory on a single machine. Administrators may also allow to request and attach Persistent Volumes.

Various contexts list the following objects as "volumes":

Volume Types

Persistent Volume Claim

EmptyDir

ConfigMap

Downward API

Host Path

Secret

NFS

Persistent Volume

https://docs.openshift.com/container-platform/latest/dev_guide/persistent_volumes.html
https://docs.openshift.com/container-platform/latest/architecture/additional_concepts/storage.html#persistent-volumes
https://docs.openshift.com/container-platform/latest/install_config/persistent_storage/index.html