OpenShift PersistentVolume Operations

From NovaOrdis Knowledge Base
Revision as of 05:17, 17 October 2017 by Ovidiu (talk | contribs) (Created page with "=Internal= * OpenShift Operations =Delete a Persistent Volume= =Create a Persistent Volume= <pre> apiVersion: v1 kind: PersistentVolume...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Delete a Persistent Volume

Create a Persistent Volume

apiVersion: v1
kind: PersistentVolume
metadata:
  name: metrics-volume
spec:
  capacity:
    storage: 10Gi
  accessModes:
  - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  nfs:
    path: /support-nfs-storage/metrics
    server: support.local