OpenShift Persistent Volume Claim Definition

From NovaOrdis Knowledge Base
Revision as of 19:55, 23 November 2017 by Ovidiu (talk | contribs) (Created page with "=External= * https://docs.openshift.com/container-platform/latest/rest_api/kubernetes_v1.html#v1-persistentvolumeclaim =Internal= =Example= <syntaxhighlight lang='yaml'> a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Example

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