Skip to content

Example of *.yaml to create PVC

garywong-bc edited this page Dec 18, 2017 · 1 revision

garywong@air:tmp$ cat x.yml

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: minio-data-vol
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 5Gi
  volumename: "minio-data-vol"
status: {}

At command line (oc is set to correct project): oc create -f x.yml

Clone this wiki locally