OpenShift Persistent Volume Claim Definition: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://docs.openshift.com/container-platform/latest/rest_api/kubernetes_v1.html#v1-persistentvolumeclaim =Internal= =Example= <syntaxhighlight lang='yaml'> a...")
 
Line 4: Line 4:


=Internal=
=Internal=
* [[OpenShift_Concepts#Persistent_Volume_Claim|OpenShift Concepts]]
* [[OpenShift_Configuration#Definitions|OpenShift Definitions]]


=Example=
=Example=

Revision as of 19:56, 23 November 2017

External

Internal

Example

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: gogs-data
  labels:
    app: gogs
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi